Linux Tips

How To Improve Ubuntu With A Single Command

SEOClerks

Upgrading Ubuntu could be very straightforward! Even a novice person can simply improve Ubuntu from one model to a different within the first try itself. That’s why I all the time really helpful Ubuntu for newbies who desires to attempt Linux for the primary time. Nevertheless, a developer has made the improve course of so much simpler than ever. Meet zzupdate, a easy command line utility to totally replace an Ubuntu PC/server through apt, largely hands-off and unattended. Imagine me or not, Now you can improve your Ubuntu, both Desktop or Server version, with a single command. I examined this script in Ubuntu 18.04 LTS and it labored simply tremendous as described under. Learn on.

Options

Automated unattended improve.
Person intervention or any coding data will not be required.
Straightforward to put in and use. Simply obtain and begin utilizing it very quickly.
Free and open supply. The supply code is freely obtainable in GitHub.

zzupdate – Improve Ubuntu With A Single Command

The official and really helpful strategy to improve any Ubuntu model to the subsequent obtainable model is to run the next instructions one after the other and comply with the onscreen directions.

For Ubuntu Desktop:

$ sudo apt-get replace
$ sudo apt-get dist-upgrade
$ sudo reboot
$ sudo update-manager -d

For Ubuntu Server:

$ sudo apt-get replace

$ sudo apt-get improve
$ sudo apt-get dist-upgrade
$ sudo reboot
$ sudo do-release-upgrade -d

Nevertheless, you don’t must run all these instructions to improve Ubuntu. The zzupdate upgrades any Ubuntu model in a single command.

First, open up the Software program & updates both from Gnome Sprint or software launcher.

Open software and updates

Open software program and updates

Within the Software program & updates wizard, go to Updates part and select the model sort you need to improve.

If you wish to improve the present Ubuntu model to any obtainable new model (LTS or non-LTS), select “For any new model” from the “notify me of recent Ubuntu model” drop down field.

If you wish to improve the present Ubuntu model to subsequent obtainable LTS model solely, select “For long-term help variations” from the “notify me of recent Ubuntu model” drop down field within the Updates part.

Choose version type

Select Ubuntu model sort

After getting chosen the model sort, shut the “Software program & Updates” window.

Subsequent, obtain “zzupdate” utility utilizing command:

$ curl -s https://uncooked.githubusercontent.com/TurboLabIt/zzupdate/grasp/setup.sh | sudo sh

Pattern output could be:

[…]

Putting in…
————-
Cloning into ‘zzupdate’…
distant: Counting objects: 96, executed.
distant: Complete 96 (delta zero), reused zero (delta zero), pack-reused 96
Unpacking objects: 100% (96/96), executed.
Already updated.

Setup accomplished!
—————-
See https://github.com/TurboLabIt/zzupdate for the quickstart information.

Then,run the next command to improve Ubuntu:

$ sudo zzupdate

It’s that easy. You don’t must do something. zzupdate will handle the whole lot and improve your present Ubuntu model to subsequent obtainable model.

zzupdate

zzupdate in motion

As soon as the improve course of is accomplished, Zzupdate will mechanically reboot your system to newly upgraded system.

Right here is the my Ubuntu 18.10 desktop after upgrading from Ubuntu 18.04 LTS:

Ubuntu 18.10 desktop

Ubuntu 18.10 desktop

Observe for individuals who updating their Ubuntu through SSH session:

In case you’re upgrading through SSH, it is suggested to begin the improve course of inside display screen session. As a result of in case of any SSH connectivity failure throughout improve course of, you’ll be able to simply reconnect with the improve session.

To put in the display screen software, run:

$ sudo apt-get set up display screen

Then begin the display screen session utilizing command:

$ display screen

In case of any connectivity failure, you’ll be able to re-attach to the improve session with command:

$ display screen -Dr

Now, run the next command to improve Ubuntu:

$ sudo zzupdate

Configure zzupdate

zzupdate works simply tremendous out of the field. Nevertheless, if you wish to change some parameters (similar to, to exclude reboot, model aggression), you’re free to try this by modifying the config file.

Copy the default config file:

$ sudo cp /usr/native/turbolab.it/zzupdate/zzupdate.default.conf /and many others/turbolab.it/zzupdate.conf

Edit the configuration file:

$ sudo vi /and many others/turbolab.it/zzupdate.conf

Then, modify the parameters as per your requirement.

Right here is the listing of obtainable parameters.

REBOOT – If the worth is 1, the system might be restarted at finish of the improve course of. Default is 1.
REBOOT_TIMEOUT – Reboot default day trip worth. Default worth is 15.
VERSION_UPGRADE – If the worth is 1, it executes model development if a brand new model of Ubuntu is obtainable.
VERSION_UPGRADE_SILENT – If the worth is 1, model development happens mechanically, with out asking the person something. Default worth is zero.
COMPOSER_UPGRADE – If the worth is 1, it mechanically upgrades composer.

By default, we run “zzupdate” to improve Ubuntu with default parameters. We are able to additionally create completely different profiles with particular parameter(s).

To take action, create a selected profile by copying from the default config file:

$ sudo cp /usr/native/turbolab.it/zzupdate/zzupdate.default.conf /and many others/turbolab.it/zzupdate.profile.ostechnix.conf

Please observe that, I’ve used “ostechnix” within the profile identify.

Then, modify the default obtainable parameters as per your requirement.

$ sudo vi /and many others/turbolab.it/zzupdate.profile.ostechnix.conf
REBOOT=zero
REBOOT_TIMEOUT=10
VERSION_UPGRADE=1

Save and shut the file. Now, you can begin the improve course of utilizing the required profile identify as proven under.

$ sudo zzupdate ostechnix

Equally, you’ll be able to create as many as profiles with completely different parameters.

Advised learn:

And, that’s all for now. Hope this helps. Have you ever tried this utility already? Share your ideas about this utility within the remark part under. Should you discover this information helpful, please share it in your social, skilled networks and help OSTechNix!

Extra good stuffs to return. Keep tuned!

Cheers!

Useful resource:

Thanks for stopping by!

Assist us that will help you:

Have a Good day!!

Source link

Related Articles

Back to top button