How to upgrade ubuntu from 18.04 to 20.04
To upgrade Ubuntu 18.04 to 20.04, you can follow the steps below:
- Update your system: Before starting the upgrade process, it’s recommended to update your system to ensure you have the latest packages and security patches. Open a terminal and run the following commands:
sudo apt update sudo apt upgrade sudo apt dist-upgrade
- Install update-manager-core: If you haven’t already installed the
update-manager-core
package, you will need to install it using the following command:sudo apt install update-manager-core
- Check the release upgrade prompt: Run the following command to check if a new release of Ubuntu is available:
sudo do-release-upgrade -c
If a new release is available, you will see a message like “New release ‘20.04’ available.”
- Run the release upgrade: To start the upgrade process, run the following command:
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.
- Reboot your system: Once the upgrade process is complete, reboot your system to apply the changes:
sudo reboot
That’s it! Your Ubuntu 18.04 system should now be upgraded to Ubuntu 20.04.