Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Upgrade to Ubuntu 20.04 from Ubuntu 18.04 & 19.10 - DesignLinux

May 29 2020
designlinux 0 Comments

The stable version of Ubuntu 20.04 LTS (code-named Focal Fossa) is released on April 23rd, if you are curious to know what is in it, you can now upgrade to the version of it from lower versions for testing purposes.

Just like every new Ubuntu release, Ubuntu 20.04 ships with new features including the latest and greatest software such as the Linux kernel and refreshed state-of-the-art toolchain. You can find more information about the new changes from the release notes.

Importantly, Ubuntu 20.04 LTS will be supported for 5 years until April 2025, for Ubuntu Desktop, Ubuntu Server, and Ubuntu Core.

This guide walks you through the steps to upgrade to Ubuntu 20.04 LTS from either Ubuntu 18.04 LTS or Ubuntu 19.10, both on desktop and server systems.

On this page:
  1. Installing Updates On Current Ubuntu Version
  2. Upgrading to Ubuntu 20.04 on Desktop
  3. Upgrading to Ubuntu 20.04 on Server

Before going for the upgrade, note that:

  1. You never know what happens during an upgrade, so take a backup of your system (especially if it’s a testing system with important file/document/projects); you can go for a full image/snapshot or a partial backup of your system.

Installing Updates On Current Ubuntu Version

As a requirement, you need to make sure that you have installed all updates for your current version of Ubuntu before you upgrade. So search for the Software Updater setting in System Settings and open it as shown in the following screenshot.

Ubuntu Software Updater

Ubuntu Software Updater

Once it has opened, allow it to check for updates as shown in the following screenshot.

Checking for Ubuntu Upgrades

Checking for Ubuntu Upgrades

After checking for all the updates, it will show you the size of the updates. You can find more about the updates by clicking “Details of updates”. Then click Install Now.

Install Ubuntu Updates

Install Ubuntu Updates

Only a user with administrative rights to use the sudo command can install software and updates. So provide your password to authenticate to start the updates installation process. Then click Authenticate.

Enter Sudo Password

Enter Sudo Password

If authentication is successful, the updates installation process should start as shown in the following screenshot.

Installing Ubuntu Updates

Installing Ubuntu Updates

After all the updates are installed, restart the system to apply the new changes by clicking Restart Now.

Restart to Apply Ubuntu Updates

Restart to Apply Ubuntu Updates

Upgrading to Ubuntu 20.04 from Ubuntu 18.04 & 19.10

To start the upgrade process, search and open the Software & Updates setting in System Settings.

Ubuntu Software Updates

Ubuntu Software Updates

Then click on the third tab called Updates as highlighted in the following screenshot. Then set the Notify me of a new Ubuntu version setting drop-down menu to:

  • For long-term support versions – if you are using 18.04 LTS.
  • For any new version – if you are using 19.10.
Notify New Ubuntu Version

Notify New Ubuntu Version

Next, press Alt+F2 and type the following command into the command box as shown in the following screenshot and press Enter.

update-manager -c -d
Run Update Manager

Run Update Manager

Then the Update Manager should open up and tell you that “The software on this computer is up to date. However, Ubuntu 20.04 LTS is now available (you have 18.04 or 19.10)”, as shown in the following screenshot. Click Upgrade and provide your password when prompted.

New Ubuntu Version Available

New Ubuntu Version Available

Next, read the welcome message and click Upgrade and wait for the Update Manager to download the distribution upgrade tools. It will highlight the steps for the upgrade as shown in the following screenshot.

Upgrading Ubuntu to Version 20.04

Upgrading Ubuntu to Version 20.04

Then it will give you a summary of the upgrade process highlighting the number of packages that are installed but no longer supported, those that will be removed, the new packages that will be installed, and those that will be upgraded.

It also shows the download size and the time it will take according to the quality of your internet connection. You can view details by clicking Details. Click Start Upgrade.

Start Ubuntu Upgrade Process

Start Ubuntu Upgrade Process

Once the upgrade is done, restart the system to apply the new changes and after a reboot, log in. To view the information about your operating system, go to Settings –> About as shown in the following screenshots.

Ubuntu 20.04 Login

Ubuntu 20.04 Login

Ubuntu 20.04 Login

Ubuntu 20.04 Desktop

Ubuntu 20.04 System Info

Ubuntu 20.04 System Info

Upgrading to Ubuntu 20.04 from Ubuntu 18.04 LTS or 19.10 Server

First, ensure that your system is up to date by running the following commands.

$ sudo apt-get update
$ sudo apt-get upgrade -y
OR
$ sudo apt-get dist-upgrade -y 
Install Updates on Ubuntu Server

Install Updates on Ubuntu Server

Once all updates are installed (when the system is up to date), reboot your system to apply them. Then run the following command to install update-manager-core package if it is not already installed.

$ sudo update-manager-core
Install Ubuntu Update Core Manager

Install Ubuntu Update Core Manager

Then ensure that the Prompt directive in /etc/update-manager/release-upgrades configuration file is set to ‘lts' if you only want LTS upgrades (for Ubuntu 18.04 users) or to 'normal' if you want non-LTS upgrades (for Ubuntu 19.10 users).

$ sudo vi /etc/update-manager/release-upgrades
Set Prompt Directive

Set Prompt Directive

Now launch the upgrade tool with the following command.

$ sudo do-release-upgrade -d
Run Upgrade on Ubuntu

Run Upgrade on Ubuntu

The above command will read the package list and disable third-party entries in the sources.list file. It will also calculate the changes then prompt you to start the upgrade and show you the number of packages that are currently installed but no longer supported, those that will be removed, the new packages that will be installed and those that will be upgraded as well as the download size and the time it will take according to the quality of your internet connection.

Answer y for yes to continue.

Disabling Third-Party Repositories

Disabling Third-Party Repositories

Start Ubuntu Server Upgrade

Start Ubuntu Server Upgrade

Then follow the on-screen instructions. Note that during the upgrade process, you will be prompted to manually configure some packages or choose options to use via a prompt.

The following screenshot shows an example. Read the messages carefully before making choices.

Ubuntu Package Configuration

Ubuntu Package Configuration

Please follow the on-screen keyboards carefully. Once the upgrade is complete, you need to restart the server as shown in the following screenshot.

Ubuntu Upgrade Completed

Ubuntu Upgrade Completed

After a restart, login and run the following command to check the current Ubuntu version on your server.

Check Ubuntu Release Version

Check Ubuntu Release Version

There you go! We hope you have successfully upgraded your Ubuntu version from 18.04 or 19.10 to 20.04. If you encountered any issues along the way or have thoughts to share, use the feedback form below to reach us.

Sharing is Caring…
Share on FacebookShare on TwitterShare on LinkedinShare on Reddit

Related

Tags: Ubuntu Tips

How to Reset a Forgotten Root Password in Linux Mint

Prev Post

How to Setup HAProxy as Load Balancer for Nginx on CentOS 8

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 3
  • 639
  • 1,055,411

DesignLinux.com © All rights reserved

Go to mobile version