3 Different Methods To Upgrade Ubuntu To Latest Version
Ubuntu 18.10, codenamed Cosmic Cuttlefish, and all official flavors have been released. Ubuntu 18.10 ships with Linux Kernel 4.18 and latest GNOME desktop 3.30. Ubuntu 18.10 will be supported for 9 months until July 2019. For more details about this release, check the official releases notes. If you’re new Ubuntu user, you can download the Ubuntu 18.10 desktop and server editions from here and install it right away as described in this guide. And all other official flavours can be downloaded from their respective official sites. If you already have Ubuntu installed on your system, you can easily upgrade it to latest Ubuntu 18.10 version. In this guide, I have provided three different ways to upgrade Ubuntu latest version, which is Ubuntu 18.10. Read on.
3 Different Ways To Upgrade Ubuntu To Latest Version
Method 1: The Official way (Recommended method)
This is the officially recommended method to upgrade your previous Ubuntu version to the latest available version. You can upgrade either non-LTS to next available version or LTS to LTS.
Ubuntu 18.10 is non-LTS. Refer the below link to upgrade to Ubuntu 18.10 from the older versions.
The above guide is specifically written for Ubuntu 18.04 LTS, however it should work for any Ubuntu version. Please remember that you can’t skip distribution upgrade. For example, if you have Ubuntu 17.10, you can’t upgrade directly from Ubuntu 17.10 to 18.10. You will have to first upgrade Ubuntu 17.10 to 18.04 and then upgrade 18.04 to 18.10. Clear? Good! The official upgrade method will almost 100% work for both LTS and non-LTS versions.
Method 2: Using UCareSystem (non-official way)
For those don’t know, UCareSsytem is an all-in one, system update and maintenance tool that can be used to perform all sorts of basic system maintenance tasks in Ubuntu. UCareSystem can do the following tasks:
- Updates all available packages.
- Updates your Ubuntu system.
- Upgrades Ubuntu.
- Downloads and install updates.
- Checks for the list of old Linux Kernels and uninstalls them. Do not worry, though, as it keeps the current and one previous version and deletes all the previous one.
- Clears the cache folder (the retrieved packages).
- Uninstall packages that are obsolete and no longer needed.
- Uninstall orphaned packages.
- Deletes package settings that you have previously uninstalled.
For more details about uCareSystem installation and usage, check the following link.
Method 3: Using zzupdate
zzupdate is a command line utility to fully update your Ubuntu desktop and server editions via apt, mostly hands-off and unattended. This makes the Ubuntu upgrade process much easier than the previous two methods. All you have to do is run a single-line command to upgrade your Ubuntu desktop or server.
$ curl -s https://raw.githubusercontent.com/TurboLabIt/zzupdate/master/setup.sh | sudo sh
One thing I noticed during testing this tool is it skips the distribution upgrade. Yes! It upgrades any older version to the latest available stable version, with a single command. Like UcareSystem, zzupdate is also unattended, and it doesn’t require any user intervention. It is completely free and the source code is available in GitHub. For more details, refer the following guide.
Well, this method won’t upgrade Ubuntu to next available version, but updates it with latest available packages. Using this method, you can configure your Ubuntu system to automatically install updated packages and security patches whenever they are available in the repositories. Good thing is we can either configure the system to update all packages or just install the security updates. For more details, check the following guide.
All methods are properly tested and they are working 100% as described. It’s up to you to choose which method you prefer to upgrade Ubuntu.
And, that’s all for now folks. More good stuffs to come. Stay tuned!