To upgrade Ubuntu 16.04 to Ubuntu 18.04, follow these steps:
- Backup your important data: Before starting the upgrade process, it is always recommended to back up your important files and data.
- Update your current Ubuntu 16.04 system: Open a terminal and run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
- Install the update-manager-core package: If it is not already installed, run:
sudo apt-get install update-manager-core
- Run the release upgrade tool: Start the upgrade process using:
sudo do-release-upgrade
- Follow the prompts: During the upgrade, you will be asked several questions, such as whether to keep or replace configuration files. Follow the instructions based on your requirements.
- Reboot your system: Once the upgrade process is complete, restart your system to apply the changes.
- Verify the upgrade: After rebooting, check your Ubuntu version by running:
lsb_release -a
This command will display your current Ubuntu version, which should now be 18.04.



