Procedure to upgrade Ubuntu 18.04 to 20.04

  1. Create a backup of your server or vm.
  2. Upgrade all installed packages of Ubuntu version 18.04 by running sudo apt update && sudo apt upgrade command.
    sudo apt update
    sudo apt list --upgradable
    sudo apt upgrade
  3. Reboot the Ubuntu Linux system by tying the sudo reboot command
  4. Install the Ubuntu update tool, run: sudo apt install update-manager-core
  5. Start the upgrade procdure, run: sudo do-release-upgrade -d
  6. Reboot the box, run: sudo reboot
  7. Verify upgrades