Procedure to upgrade Ubuntu 18.04 to 20.04
- Create a backup of your server or vm.
- Upgrade all installed packages of Ubuntu version 18.04 by running command:
$ sudo apt update && sudo apt upgrade
- Reboot the Ubuntu Linux system by tying the following command:
$ sudo reboot
- Install the Ubuntu update tool, run:
$ sudo apt install update-manager-core
- Start the upgrade procedure, run:
$ sudo do-release-upgrade
- Reboot the box, run:
$ sudo reboot
- Verify upgrades
Let us see all commands and examples details to upgrade Ubuntu from 18.04 to 20.04 LTS using the CLI.
NOTE: You can upgrade to Ubuntu 20.04 LTS from either Ubuntu 18.04 LTS or Ubuntu 19.10 only