To upgrade Ubuntu 18.04 to 20.04, you can follow the steps below:
sudo apt update sudo apt upgrade sudo apt dist-upgrade
update-manager-core
package, you will need to install it using the following command:
sudo apt install update-manager-core
sudo do-release-upgrade -c
If a new release is available, you will see a message like “New release ‘20.04’ available.”
sudo do-release-upgrade
This will launch the release upgrader, which will guide you through the upgrade process. Follow the on-screen instructions to complete the upgrade.
sudo reboot
That’s it! Your Ubuntu 18.04 system should now be upgraded to Ubuntu 20.04.