One line of command to easily upgrade Ubuntu | Linux China, ubuntulinux

Source: Internet
Author: User
Tags composer install

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 'zanetinizzupdateYou 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.

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

Then copy the provided sample configuration filezzupdate.confAnd set your preferences.

 
  1. 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 ).

 
  1. 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-upgradesFile.

 
  1. vi /etc/update-manager/release-upgrades

  2. Prompt=normal

Configure zzupdate [Optional]

zzupdateOptions to be configured:

 
  1. REBOOT=1

If the value is 1, the system restarts after the upgrade.

 
  1. REBOOT_TIMEOUT=15

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

 
  1. VERSION_UPGRADE=1

If the upgrade is available, upgrade the version.

 
  1. VERSION_UPGRADE_SILENT=0

The version progress is automatically displayed.

 
  1. COMPOSER_UPGRADE=1

If the value is 1, the tool is automatically upgraded.

 
  1. 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,zzupdateIt 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.

 
  1. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.