How to upgrade Ubuntu 16.04 and 17.10 to 18.04 LTS | Tutorial


How to upgrade Ubuntu 16.04 and 17.10 to 18.04 LTS

With the great news from Canonical where they stated that they have extended LTS support for Ubuntu 18.04 to 10 years, it is not a bad idea to upgrade Ubuntu to version 18.04. In this post we will cover the process how to upgrade Ubuntu to version 18.04 LTS. Before doing anything, first please backup everything, backup all the data you have.

Requirements:

There are no special requirements here, if you have Ubuntu 16.04 or 17.10 version installed, you only need free time and free space on the HDD.

Also here’s a video tutorial as well:

Procedure

Preparing OS for the upgrade

What we first need to do is to update our packages. So, we need to start the terminal(ctrl-alt-t key combination) and run these two commands:

sudo apt update

sudo apt upgrade

When the update is finished, next command we to run is:

sudo apt dist upgrade

Now we can clear the cache and remove all the unnecessary packages. For that we need the command:

sudo apt autoremove

Running the upgrade

upgrade ubuntu 18.04 lts

Now we’re ready to start the upgrade process. First we need to update the update manager. Run the following command in the terminal:

sudo apt install update-manager

And now the upgrade process will start. Run the two commands:

upgrade ubuntu 18.04 lts

sudo do-release-upgrade

upgrade ubuntu 18.04 lts

sudo do-release-upgrade -d

Upgrade process can take while. It can take up to an hour to finish(that depends on your PC and HDD you have). That’s why it’s important to have a backup of your files. Let’s take a worst case scenario that can happen during the upgrade – power loss. If you lose power, you lose all your data. Again, backup, backup and backup.

Finishing up

After some time you’ll start to notice changes on your Ubuntu during the upgrade process. Example:

upgrade ubuntu 18.04 lts

Ubuntu 16.04 during the upgrade.

upgrade ubuntu 18.04 lts

This is Ubuntu after 30 minutes of upgrade process.

upgrade ubuntu 18.04 lts

Once the upgrade is finished, terminal will prompt you to let you know that the upgrade is completed and it will prompt you to restart the PC, which is necessary in order for the upgrade to be applied. Enter Y on terminal and hit Enter. The Ubuntu will restart by itself and boot again. Then you can enjoy your Ubuntu with 10 years of support.

I hope you found the post useful. Thank you for your time.

 


You may also like...

Leave a Reply

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