How to Upgrade Ubuntu 18.04 LTS to Ubuntu 20.04 LTS - BRS MEDIA TECHNOLOGIES
Ubuntu-20.04-LTS-Focal-Fossa

How to Upgrade Ubuntu 18.04 LTS to Ubuntu 20.04 LTS

Good news for Ubuntu users, Canonical has released Ubuntu 20.04 LTS on 23rd April 2020. As it is an LTS (Long Term Support) release so ubuntu users will keep getting updates and support till April 2025. So, it is worth to upgrade your Ubuntu 18.04 LTS desktop to Ubuntu 20.04 LTS (Focal Fossa).

We strongly recommend please the take backup of your existing Ubuntu 18.04, may be on some external drive. Before start upgrading, let’s take a note of existing Ubuntu Version, open the terminal and run below command,

Command: cat /etc/lsb-release Check-Ubuntu-Version-before-upgrade

Step 1)

Apply all updates of installed packages

sudo apt update

sudo apt upgrade -y

Once all the updates are installed including the kernel then reboot your system

Command: sudo reboot

Step 2)

Remove unused Kernels and install ‘update-manager-core’

Once your Ubuntu 18.04 LTS desktop is available after reboot, then it is recommended to remove unused kernels to free up the space from /boot partition, run beneath command:

Command: sudo apt –purge autoremove

Execute below command to install “update-manager-core“, as it is required for upgrade, though on most of the systems it should be installed by default. In case it is not installed run below command,

Command: sudo apt install update-manager-core -y

Step 3)

Start Upgrade Process

Run following command to view whether new 20.04 LTS version is available for your system.

Command: sudo do-release-upgrade

Command: do-release-upgrade-Ubuntu18-04

Now run the command to initiate the upgrade procedure,

Command: sudo do-release-upgrade -d

forcefully-upgrade-ubuntu18-04

During upgrade procedure, it will prompt you couple of times to type “y” to update package repositories and sometime “enter” to confirm to proceed with upgrade,

Enter-Y-During-Ubuntu-Upgrade

Step 4)

Verify Upgrade Once the system boots after the upgrade, open the terminal type following to verify the Ubuntu version,

Command: cat /etc/lsb-release

This confirms that we have successfully upgrade our Ubuntu 18.04 LTS to latest Ubuntu 20.04 LTS.

Related Article

file sharing Windows and Linux

File Sharing between Windows and Linux

Contents1 Overview2 Install Samba3 Stop Samba daemon4 Back up Samba config file5 Create new Samba config file6 Create Samba shares […]

Linux-Interview-Questions

Linux Interview Questions

S. No Notes 1 What is Linux? Linux is an open-source operating system inspired by UNIX.It was first introduced by […]

drag and drop page builders

WordPress Page Builders

Drag and drop page builders have become extremely popular with WordPress. This should not come as a surprise. Page creators […]