Canonical releases new Ubuntu versions every few months. The interim releases are suited for developers who need access to the latest libraries or kernels, whereas most normal users should stick to the LTS releases.
LTS releases are only published once every two years. It’s a good idea to upgrade to them as they bring newer software and security patches. As for how to actually perform the upgrade, we’ve covered both GUI and CLI-based methods in this article.
Note: Please back up any important data before upgrading Ubuntu.
Upgrade Ubuntu using Software Updater
By default, the Software Updater will notify you when a new LTS version is available. Upgrading with this tool is a mostly automated process, as shown below.
- Launch the Software Updater from the application menu.
- If there are any pending software updates, click on Install Now and restart if prompted to finish installing them.
- Then, click on Upgrade and enter your password to authenticate.
- Read the release notes and click on Upgrade.
- Click on Start Upgrade to begin the upgrade.
- Remove the obsolete packages if prompted, then reboot your PC to complete the upgrade.
You can upgrade to an interim release in the same way, but you must configure the Update setting first. The same is true if you don’t see the Upgrade option currently; it’s likely because the upgrade policy is set incorrectly. To resolve this,
- Open the Software Updater and click on Settings.
- In the Updates tab, set the Notify me of a new Ubuntu version setting to LTS versions or any new version (for interim releases) as you prefer.
- Enter your password to authorize the change.
- Launch the software updater again. The upgrade option should be accessible now.
Upgrade Ubuntu Version via Terminal
Upgrading to a new release involves updating the packages, updating the sources, and reinstalling the ubuntu-desktop package among other things. It is possible to perform each step of the upgrade manually, but it’s not recommended. You should instead use the
To start, update your software.
sudo apt update && sudo apt full-upgrade
update-manager-core package which includes the upgrade script. Then, run the script.
sudo apt install update-manager-core
Accept the on-screen prompts for SSH, sources list, and to start the upgrade. You’ll also see other prompts for replacing config files and so on. These are system-specific, so answer them as appropriate for yours.
Finally, accept the prompts to remove obsolete packages and restart the machine to complete the upgrade.
Note: If you’re using an End-of-Life (EOL) version, it’s recommended to start with a fresh install of the latest Ubuntu release rather than upgrading. But if you’d like to upgrade anyway, you’ll generally need to use version-specific upgrader tools.