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 command:
    sudo apt update && sudo apt upgrade
  3. Reboot the Ubuntu Linux system by tying the following command:
    sudo reboot
  4. Install the Ubuntu update tool, run:
    sudo apt install update-manager-core
  5. Start the upgrade procedure, run:
    sudo do-release-upgrade
  6. Reboot the box, run:
    sudo reboot
  7. 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

 

Was this answer helpful? 1 Users Found This Useful (1 Votes)