How to Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS. Ubuntu 18.04 is an LTS release will be supported till 2023. Ubuntu provids two types of releases Standard release and Long Term Support (LTS) release. Ubuntu provides support for standard releases for approx 1 year while Long Term Support is useful for approx 5 years.
A new Ubuntu 18.04 LTS release is available to upgrade. The Ubuntu desktop users can upgrade to the latest release. But if you are running Ubuntu Server and especially production server, we recommend waiting for few months before the upgrade to Ubuntu 18.04 LTS.
Backup Your Data
We strongly recommended to backup all your important data from your Server or Desktop to a remote location. Also, take a complete system snapshot (if possible).
Upgrade Ubuntu 16.04 to Ubuntu 18.04
After taking the complete backup of the system. Let’s move to upgrade process. Execute commands to upgrade current system packages.
sudo apt-get update sudo apt-get upgrade
Now install the update-manager-core package on your system.
sudo apt-get install update-manager-core
After that edit /etc/update-manager/release-upgrades file and make sure Prompt value is set to lts like below. This tells upgrader to only search for the LTS upgrade available. For any non LTS version, it will not show.
Finally, Your system is ready to upgrade. Just execute a command to upgrade your Ubuntu 16.04 to Ubuntu 18.04 LTS system. Currently, Ubuntu 18.04 is in development release, You need to add –devel-release option to upgrade it. After the final release available you need to skip this option.
sudo do-release-upgrade -d --devel-release
Follow on-screen instructions and your upgrade will be completed. This process may take some time according to your network speed and system performance. After completing the upgrade process, reboot your system. Then check the version of the upgraded system.
The world’s best operating system has been installed on your system. Let’s enjoy it.