How to Upgrade Ubuntu 16.04 to Ubuntu 18.04 LTS. It’s easy to upgrade to Ubuntu 18.04 without reinstalling the operating system.
Ubuntu provides two types of releases, one is Standard release and second is Long Term Support (LTS) release. A new Ubuntu 18.04 LTS release is available to upgrade, if you are already using an Ubuntu version.
So to upgrade you just have to follow few steps with the good internet connection. But, It’s advisable to wait for few month after release to update for Ubuntu server editions.
Backup Data
At first, It’s strongly recommended to take backup of your data and put it to safe location before start upgrade process.
Upgrade Ubuntu 16.04 to 18.04 LTS
I hope you have taken backup of your data. Now let’s go to your terminal and execute following commands:
sudo apt-get update
sudo apt-get upgrade
Now, install the update-manager-core package
sudo apt-get install update-manager-core
After that, edit release-upgrades file at /etc/update-manager/release-upgrades. Check Prompt value and it should lts. By this upgrader it will search only for the available LTS upgrades.
Prompt=lts
So now your system is ready to upgrade. Fire following commands to upgrade your Ubuntu 16.04 to Ubuntu 18.04 LTS system.
sudo do-release-upgrade -d
Now, Upgrade process will start and take some time based on your system performance and internet connection speed. But, no need to worry just follow on-screen instructions and It will be done.
Next, you must reboot your system once upgrade process will complete.
Check Ubuntu Details
So now you can check ubuntu version details using command line by fire below command.
lsb_release -a

For desktop editions go to Settings > About. You can see upgraded version details

That’s it. Finally, you upgraded your system to Ubuntu 18.04 LTS.
Leave a Reply