Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade Ubuntu

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to upgrade Ubuntu", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to upgrade Ubuntu" this article.

Zzupdate is an open source command line program that makes it easier to upgrade Ubuntu desktop and server versions to newer versions by combining several update commands into a single command.

Upgrading Ubuntu systems to newer versions is not a daunting task. Whether you use GUI or a few commands, you can easily upgrade your system to the * version.

On the other hand, zzupdate written by Gianluigi 'Zane' Zanettini can clean, update, automatically delete, version upgrade, and update the tool in Ubuntu with a single command.

It clears the local cache, updates available package information, and then performs a release upgrade. It then updates the tool and removes unused packages.

The script must be run as root.

Install zzupdate to upgrade Ubuntu to a newer version

To install zzupdate, execute the following command in the terminal.

Curl-s https://raw.githubusercontent.com/TurboLabIt/zzupdate/master/setup.sh | sudo sh

Then copy the sample configuration file provided to zzupdate.conf and set your * entry.

Sudo cp / usr/local/turbolab.it/zzupdate/zzupdate.default.conf / etc/turbolab.it/zzupdate.conf

When you're done, just use the following command and it will start upgrading your Ubuntu system to a newer version, if any.

Sudo zzupdate

Note that under the normal version (not the LTS version), zzupdate upgrades the system to the next available version. However, when you run Ubuntu 16.04 LTS, it will try to search only for the next long-term supported version, not the available version.

If you want to exit the LTS version and upgrade to the * version, you will need to change some options.

For the Ubuntu desktop, open the Software and updates and the following updates tab, and change to notify me of the new Ubuntu version option to "for any new version".

Software Updater in Ubuntu

For Ubuntu Services Edition, edit the release-upgrades file.

Vi / etc/update-manager/release-upgrades Prompt=normal configuration zzupdate [optional]

Options to configure for zzupdate:

REBOOT=1

If the value is 1, the system will restart after the upgrade.

REBOOT_TIMEOUT=15

Set the restart timeout to 900 seconds because some hardware takes longer to restart than others.

VERSION_UPGRADE=1

If the upgrade is available, perform a version upgrade.

VERSION_UPGRADE_SILENT=0

Automatically displays the progress of the version.

COMPOSER_UPGRADE=1

A value of "1" automatically upgrades the tool.

SWITCH_PROMPT_TO_NORMAL=0

This feature updates the Ubuntu version to the normal version, that is, if you are running a LTS distribution, zzupdate will not upgrade it to Ubuntu 17.10 (if it is set to 0). It will only search for the LTS version. By contrast, whether you are running LTS or a regular version, "1" will search for the * version.

When you're done, all you have to do is run a complete Ubuntu system update in the console.

Sudo zzupdate above is all the content of this article "how to upgrade Ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report