This tutorial explains step by step to upgrade an Ubuntu desktop from version 21.04 Hirsute Hippo to 21.10 Impish Indri with command lines. You will need to prepare a good internet access, enough disk space, and some patience to work with it. Good luck!
Subscribe to UbuntuBuzz Telegram Channel to get article updates.
Requirements
- Ubuntu 21.04 Hirsute Hippo installed.
- Internet access that is fast and reliable (unlimited one is the best).
- Free time, as it could take more than one hour.
- Enough free disk space, please give at least 5GB free.
Step 1. Reload
Firstly, do the Reload command line below.
$ sudo apt-get update
This command introduces your Ubuntu Hirsute to its latest updates from its repository. This does not install nor upgrade any new program.
Step 2. Upgrade Current Version to Its Latest
Second step is to upgrade 21.04 to its fullest. This does not upgrade your system to Impish Indri version yet.
1. Do the Upgrade command line.
This command takes about 400MB on a fresh Hirsute Hippo and should be bigger on a used system. This may takes time up to 1 hour.
$ sudo apt-get upgrade --yes
2. Do the Dist-Upgrade command line.
Once upgrade succeeded, do the dist-upgrade below. This command takes about 200MB on a fresh Hirsute and should be bigger too on a used system.
$ sudo apt-get dist-upgrade --yes
Step 3. Restart
Reboot your Ubuntu computer and continue the next step.
Step 4. Upgrade System to New Version
After rebooting, now you do several final steps to finish the upgrade.
1. Do the Do Release Upgrade[1] command line.
2. Accept with yes (first time).
3. Accept with yes (second time).
4. Accept with yes (third time).
5. Accept with yes (last time).
6. Restart.
Command line:
$ sudo do-release-upgrade
This process takes up biggest download as well as disk space on a fresh system, that is, a 1GB, and should be more on a used system. As a consequence, this may takes up longest time too.
The Result
Once restarted, Ubuntu system should now be 21.10 Impish Indri. Congratulations!