How to Upgrade Ubuntu 16.04 to Ubuntu 18.04

At the point when Canonical’s Ubuntu Linux 18.04 showed up, this exceptional Linux appropriation had just a single little issue: You couldn’t legitimately hop from the keep going Long Term Support (LTS) variant, Ubuntu 16.04, to the most recent rendition. Presently, with the arrival of the principal point Ubuntu 18.04 update, Ubuntu 18.04.1, you can at last do it no problem at all.

Obviously, you could generally refresh from one form of Ubuntu to the next. You simply needed to have your home index on another segment or drive. Since the vast majority don’t waste time with that, updating was a task.
Before causing the move to recall Ubuntu 18.04 doesn’t look or feel like 16.04, 16.10, 17.04, or 17.10. That is on the grounds that Ubuntu has moving back to GNOME for its default work area from Unity. On the off chance that you need to stay with Unity, you should go through the motions to supplant GNOME with Unity.

Step 1:- You need to verify the os details by using commands.

$ cat /etc/os-release

NAME=”Ubuntu”
VERSION=”16.04.6 LTS (Xenial Xerus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 16.04.6 LTS”
VERSION_ID=”16.04″
HOME_URL=”http://www.ubuntu.com/
SUPPORT_URL=”http://help.ubuntu.com/
BUG_REPORT_URL=”http://bugs.launchpad.net/ubuntu/
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

As you can see our current ubuntu is ubuntu 16.04 LTS

Step 2:- Now you need to update and upgrade the ubuntu current repository and currently installed packages.

$ sudo apt-get update && apt-get upgrade -y

After this checks again the os details by following the commands.

$ cat /etc/os-release

NAME=”Ubuntu”
VERSION=”16.04.6 LTS (Xenial Xerus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 16.04.6 LTS”
VERSION_ID=”16.04″
HOME_URL=”http://www.ubuntu.com/
SUPPORT_URL=”http://help.ubuntu.com/
BUG_REPORT_URL=”http://bugs.launchpad.net/ubuntu/
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Step 3:- You need to upgrade the Ubuntu by following the commands.

sudo apt-get install update-manager-core -y

Save and exit from vim editor, And After that, You need to executive the cli.

$ sudo do-release-upgrade

This process takes lots of time to upgrade ubuntu 16.04 to 18.04, You need to given conformation while installing the new update and in the end, you need to restart the Ubuntu machine.
Step 4:- Get Ubuntu Version by using the CLI.

$ cat /etc/lsb-release


DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=”Ubuntu 18.04 LTS

How to Upgrade Ubuntu 16.04 to Ubuntu 18.04

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top