To upgrade Ubuntu 20.04 to Ubuntu 22.04, follow these steps:
-
Open the terminal: You can do this by pressing
CTRL + ALT + Ton your keyboard. - Update your system: Run the following command to update your Ubuntu 20.04 system:
sudo apt update && sudo apt upgrade
This ensures your system is fully updated before starting the upgrade process.
- Install the update-manager-core package: Run the following command:
sudo apt install update-manager-core
- Open the release upgrade tool: Run the following command:
sudo do-release-upgrade -d
The -d flag allows upgrading to a development release. This is required if the target version is not yet officially released at the time of upgrading.
- Follow the prompts: The upgrade tool will guide you through the process. Confirm the upgrade and accept the license agreements to proceed.
- Wait for the upgrade to complete: This may take some time depending on your internet speed and system performance.
- Reboot your system: Once the upgrade is finished, run the following command:
sudo reboot
After rebooting, your system should now be running Ubuntu 22.04. To confirm, run:
lsb_release -a
This command will display your current Ubuntu version details.



