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

Easiest Way to Install Next Cloud & OnlyOffice At Your On Premises – Full Privacy With Full Featured Document Server.

Contents1 Overview2 NextCloud Setup Process2.0.1 Consider getting a domain2.0.2 Install Ubuntu Server2.0.3 Guidance Notes – Adding a user – After […]

Pihole UnboundDNS Configuration

Pi-hole as All-Around DNS Solution with Unbound DNS

Contents1 The problem: Whom can you trust?1.1 What is a recursive DNS server?1.2 What does this guide provide?1.2.1 A standard […]

Migrate VM

How to convert OVA image to QCOW2 format on Linux

Question: I have downloaded a virtual appliance packaged in OVA format. I want to convert the OVA image to QCOW2 […]