In this How To Upgrade Ubuntu To 21.04 Hirsute Hippo tutorial you will learn:
- How to fully update and upgrade your current Ubuntu system.
- How to configure the release upgrader.
- How to upgrade your Ubuntu system.
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Fully upgraded and updated Ubuntu 21.10 Groovy Gorilla|
|Other||Privileged access to your Linux system as root or via the |
|Conventions|| # - requires given linux commands to be executed with root privileges either directly as a root user or by use of |
How To Upgrade Ubuntu To Ubuntu To 21.04 Hirsute Hippo step by step instructions
- Fully update and upgrade your current Ubuntu 20.04 Linux system.
Execute the below commands:
$ sudo apt update $ sudo apt upgrade $ sudo apt dist-upgrade
UPGRADE REQUIREMENT - PLEASE READ
Please be aware that you will only be able to perform the Ubuntu upgrade to 21.04 only from Ubuntu 20.10 version. If you wish to upgrade from Ubuntu 19.10 or 20.04 you first need to upgrade the system to Ubuntu 20.10 before you proceed with Ubuntu 21.04 upgrade procedure.
- Remove all no longer required packages:
$ sudo apt autoremove
- Configure the release upgrader. Open and edit the
/etc/update-manager/release-upgradesfile and ensure that the
Promptvariable is set to
# Default behavior for the release upgrader. [DEFAULT] # Default prompting and upgrade behavior, valid options: # # never - Never check for, or allow upgrading to, a new release. # normal - Check to see if a new release is available. If more than one new # release is found, the release upgrader will attempt to upgrade to # the supported release that immediately succeeds the # currently-running release. # lts - Check to see if a new LTS release is available. The upgrader # will attempt to upgrade to the first LTS release available after # the currently-running one. Note that if this option is used and # the currently-running release is not itself an LTS release the # upgrader will assume prompt was meant to be normal. Prompt=normalSave the file.
- Begin the Ubuntu 20.10 upgrade process by executing the following command:
$ sudo do-release-upgrade
UPGRADING TO UBUNTU 21.04 PRIOR TO ITS RELEASE DATE ( 22.4.2021 )
In case you are upgrading to Ubuntu 21.04 prior to its release date you need to use
-dswitch as in
$ sudo do-release-upgrade -din order to trigger the upgrade process.
- Remove obsolete packages
- Reboot your Ubuntu system.
When the Ubuntu upgrade does finish, reboot the system.