Upgrade to Ubuntu 24.04 LTS from 22.04 LTS: A Detailed Guide

Tested and proven step-by-step guide for smoothly upgrading from Ubuntu 22.04 LTS (Jammy Jellyfish) to Ubuntu 24.04 LTS (Noble Numbat).

Ubuntu 24.04 LTS is a standout release, and we’re confident that if you’re currently on 22.04 LTS, you can’t wait to upgrade and explore all its new features. Well, you’ve come to the right place!

As always, we’ll offer you a tried-and-tested approach proven in our lab to seamlessly upgrade your 22.04 (Jammy Jellyfish) desktop system to 24.04 (Noble Numbat).

Moreover, since the release of Ubuntu 24.04.1, Canonical has provided an officially supported upgrade path, so without further ado, let me show you how to do it. The entire process should take an hour or less, depending on your internet speed.

Step 1: Make a Backup

First, letโ€™s ensure all your important data is safe. So, before doing anything else, we strongly recommend making a full system backup so that if something goes wrong, you can restore your system with all the vital data to its previous state.

However, if you do not feel like taking the above approach, you can instead use a command like the one shown below, which will archive all of the more critical directories and their contents in a tar.gz archive.

sudo tar czf /jellyfish-data.tar.gz \
     --exclude=/jellyfish-data.tar.gz \
     --exclude=/dev \
     --exclude=/mnt \
     --exclude=/proc \
     --exclude=/sys \
     --exclude=/tmp \
     --exclude=/media \
     --exclude=/lost+found \
     /Code language: Bash (bash)

Feel free to add more โ€œโ€“exclude=โ€ parameters if needed. Finally, the command creates a backup of all files in the โ€œjellyfish-data.tar.gzโ€ file located on the root partition (/), which you should ideally transfer to another computer or drive, for example, using the SCP command.

Step 2: Update All Software

Ensure you have a fully updated Ubuntu 22.04 LTS system. Open the terminal app, and type the following two apt commands:

sudo apt update
sudo apt upgradeCode language: Bash (bash)

If there are any pending updates, install them along with any pending snap packages.

sudo snap refreshCode language: Bash (bash)

Finally, cleaning your system of any leftover packages it no longer needs is good practice.

sudo apt autoremove --purgeCode language: Bash (bash)

The result should be a fully up-to-date Ubuntu 22.04 box with no packages waiting to be updated. Finally,ย rebootย the system.

Here is our Ubuntu 22.04 LTS install before upgrading to Ubuntu 24.04 LTS.

Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 22.04 LTS (Jammy Jellyfish)

Strep 3: Upgrade from Ubuntu 22.04 LTS to 24.04 LTS

First, ensure the “Prompt=lts” lineย is includedย in the “/etc/update-manager/release-upgrades” file.

cat /etc/update-manager/release-upgrades
Change the prompt to "lts" in the "release-upgrades" file.
Change the prompt to “lts” in the “release-upgrades” file.

If it displays something different, like “normal,” use the following command to fix it.

sudo sed -i 's/Prompt=[^ ]*/Prompt=lts/' /etc/update-manager/release-upgradesCode language: Bash (bash)

We’re all set to upgrade from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS.ย Toย startย ย the process, execute:

sudo do-release-upgrade -dCode language: Bash (bash)

And answer “y” when asked if you want to continue.

Confirm the start of the downloads.
Confirm the start of the downloads.

This will switch to the new repositories from the 24.04 release and tell you how many packages are set for an upgrade. Confirm by pressing “y” to proceed.

Confirm the start of the packages download.
Confirm the start of the packages download.

Thisย will start downloading and installing the packages needed to upgrade to Ubuntu 24.04 LTS (Noble Numbat). The process will take some time, so be patient.

You may receive a message like the one shown below during the process. Here’s what it’s about. In version 24.04, certain software, like Thunderbird, is provided as a Snap instead of the traditional DEB file, so you’ll receive a notification about this change. Click “Ok” to confirm.

Switching from DEB to Snap for Thunderbird mail client.
Switching from DEB to Snap for Thunderbird mail client.

However, if you still want to get Thunderbird back as a DEB application after the upgrade, see our guide on the subject. The same applies to the Firefox web browser.

During the process, your desktop will automatically refresh with the new Ubuntu 24.04 visual identity. You will then be prompted to remove obsolete packages. Respond with “y.”

Remove obsolete packages.
Remove obsolete packages.

Once everything is ready, confirm with “y” to restart the system.

Restart is required to finish the upgrade.
Restart is required to finish the upgrade.

Congratulations! You’ve done it! Log in to your freshlyย upgraded Ubuntu 24.04 LTS system. Don’t forget to give yourself a well-deserved pat on the back.

Ubuntu 22.04 LTS (Jammy Jellyfish) successfully upgraded to Ubuntu 24.04 LTS (Noble Numbat).
Ubuntu 22.04 LTS (Jammy Jellyfish) successfully upgraded to Ubuntu 24.04 LTS (Noble Numbat).

Post-Installation Steps

Run the command below to upgrade to the brand-new App Center in Ubuntu 24.04.

sudo snap refreshCode language: Bash (bash)

Following the upgrade, its icon will disappear from the left panel, but you can easily re-pin it.ย Simplyย locate the app in the apps list, right-click, and select the “Pin to Dash”ย option.

Conclusion

With our guide, upgrading to Ubuntu 24.04 LTS from 22.04 LTS is straightforward. You’ll gain access to a newer, feature-rich environment that could significantly enhance your system’s performance and usability.

Thank you for trusting our instructions and relying on our expertise. I hope you find this guide helpful.

Finally,ย we recommend users review the official release notes. Let me know if you have any questions in the comments section below.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%