One line of command to easily upgrade Ubuntu | Linux China, ubuntulinux
Zzupdate written by Gianluigi 'zane 'zanetini can be cleaned, updated, automatically deleted, upgraded, and self-updated in Ubuntu with only one command. -- Ambarish Kumar
In this article, navigate to composer install zzupdate to upgrade Ubuntu to the updated version 20% composer configure zzupdate [Optional] 55% composer last words 83% compiled from | https://itsfoss.com/zzupdate-upgrade-ubuntu/
Author | Ambarish Kumar
Translator | geekpi
Zzupdate [1] is an open-source command line program. By combining several update commands into a single command, it is easier to upgrade the Ubuntu Desktop and server version to the latest version.
Upgrading the Ubuntu system to an updated version is not an arduous task. You can easily upgrade the system to the latest version, whether using the GUI or several commands.
On the other hand, written by Gianluigi 'zane 'zanetinizzupdate
You only need one command to clear, update, automatically delete, upgrade, and update the tool in Ubuntu.
It clears the local cache, updates available software package information, and then performs release upgrade. Next, it updates the tool and deletes unused software packages.
The script must be run as the root user.
Install zzupdate to upgrade Ubuntu to the latest version.
To installzzupdate
, Please execute the following command in the terminal.
curl -s https://raw.githubusercontent.com/TurboLabIt/zzupdate/master/setup.sh | sudo sh
Then copy the provided sample configuration filezzupdate.conf
And set your preferences.
sudo cp /usr/local/turbolab.it/zzupdate/zzupdate.default.conf /etc/turbolab.it/zzupdate.conf
After that, you only need to use the following command to upgrade your Ubuntu system to an updated version (if any ).
sudo zzupdate
Note that in normal versions (non-LTS versions), zzupdate will upgrade the system to the next available version. However, when you run Ubuntu 16.04 LTS, it will try to search for only the next long-term supported version, instead of the latest available version.
If you want to exit the LTS version and upgrade it to the latest version, you need to change some options.
For Ubuntu Desktop, open the software and updates tab and the updates tab below, and change the option to "for any new version" to notify me of the new Ubuntu version ".
Software Updater in Ubuntu
For the Ubuntu service version, Editrelease-upgrades
File.
vi /etc/update-manager/release-upgrades
Prompt=normal
Configure zzupdate [Optional]
zzupdate
Options to be configured:
REBOOT=1
If the value is 1, the system restarts after the upgrade.
REBOOT_TIMEOUT=15
Set the restart timeout to 900 seconds because some hardware takes longer to restart than other hardware.
VERSION_UPGRADE=1
If the upgrade is available, upgrade the version.
VERSION_UPGRADE_SILENT=0
The version progress is automatically displayed.
COMPOSER_UPGRADE=1
If the value is 1, the tool is automatically upgraded.
SWITCH_PROMPT_TO_NORMAL=0
This function updates the Ubuntu version to a normal version, that is, if you are running the LTS release version,zzupdate
It will not be upgraded to Ubuntu 17.10 (if it is set to 0 ). It will only search for the lts version. In contrast, whether you are running an LTS or a regular version, "1" will search for the latest version.
After that, you must run a complete Ubuntu system update on the console.
sudo zzupdate
Last words
Although the upgrade process of Ubuntu is simple, zzupdate simplifies it into a command. No coding knowledge is required. This process is completely file-driven. I personally found that this is a good tool for updating several Ubuntu systems without having to worry about different things separately.
Would you like to try it?
Via: https://itsfoss.com/zzupdate-upgrade-ubuntu/
Author: Ambarish Kumar [3] Translator: geekpi Proofreader: wxy
This article was originally compiled by LCTT and launched with the honor of Linux in China
Geekpi, LCTT translator? ? Total Translation: 622 contributions: 1526 days
Recommended articles
<Slide left and right to view related articles>
Click an image, enter the Document ID, or identify the QR code.
For the original text link, visit "Original Text Link" to obtain the link that can be clicked, full-size source images, and related articles.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.