Canonical launched Ubuntu 24.04 “Noble Numbat” on April 25. Noble Numbat marks Ubuntu’s tenth LTS (Lengthy Time period Help) launch and accommodates a number of safety and efficiency enhancements.
Ubuntu 23.10 “Mantic Minotaur,” launched Oct. 20, 2023, remains to be receiving safety updates via July 2024. Nonetheless, there’s no motive you’ll be able to’t change to 24.04 right now.
On this information, you’ll study the steps you should take to improve from Ubuntu 23.10 to Ubuntu 24.04.
Why Improve to Ubuntu 24.04 Noble Numbat?
One of many most important benefits of switching to Ubuntu 24.04 Noble Numbat is that as an LTS launch, customers will obtain 5 years of free safety upkeep on the principle Ubuntu repository.
Customers who enroll in Ubuntu Professional, which is free for private use, profit from an additional 5 years of updates for each the principle and universe repositories.
Subscribers may also buy the legacy help add-on for 2 years of further help.
If as much as 12 years of help isn’t sufficient, Noble Numbat consists of new security features, together with person namespace restrictions, binary hardening, and disabling older variations of TLS and AppArmor 4.
Most significantly, all the Ubuntu 24.04 binary packages have been rebuilt in gentle of the hidden backdoor within the information compression package deal xz Utils, found in early April.
Learn the Noble Numbat release notes to find all the benefits of upgrading.
How It Works
Though you’ll be able to technically replace to Ubuntu 24.04 Noble Numbat utilizing Terminal (see below), Ubuntu helps simple upgrades to the subsequent model utilizing the built-in Software program Updater.
To improve, you first want to make use of the software program updater to make sure your set up of Ubuntu 23.10 is updated. Then, you’ll be able to rerun the software program updater to improve to Ubuntu 24.04.
Ubuntu 23.10 will then launch the improve course of, connecting to the mandatory software program channels and relevant packages. You’ll even be provided the selection to take away any out of date packages.
Ubuntu disables third-party repositories and PPAs by default. As soon as the OS upgrades to model 24.04, you’ll be able to re-enable these by way of the command line.
Step 1. Put together Your System
The improve course of to Ubuntu 24.04 Noble Numbat is easy. Nonetheless, it’s at all times a good suggestion to observe some primary precautions when making important adjustments to your OS.
- Save and shut any open information and any operating applications.
- If you happen to’re utilizing a conveyable system, make certain it’s plugged into an influence supply to stop the battery from draining throughout the improve.
- Be sure that to run a full system backup utilizing your favorite utility.
Subsequent, examine that your present model of Ubuntu 23.10 is updated. The best approach to do that is:
- Click on the workspace switcher on the high left, then kind “replace” within the search field.
- Click on the “Software program Updater” icon to launch the utility.
The software program updater will now seek for and show any out there updates. Click on “Set up Now,” then enter your admin password to obtain and apply these.
If Ubuntu 23.10 requires you to restart to use any updates, click on “Restart Now.”
You can too use the command line to replace Ubuntu 23.10. Open Terminal and run:
sudo apt replace && sudo apt full-upgrade
Hit “Y” to replace Ubuntu 23.10 to the latest model.
Step 2. Get Prepared To Improve
In the course of the replace course of, the system will doubtless require you to reboot. In that case, log in once more to the Ubuntu Desktop.
Now you can repeat the steps above to launch the Software program Updater by way of the workspace switcher (high left).
You’ll subsequent see a notification stating that Ubuntu 23.10 is updated however {that a} new model (24.04) is out there. Choose “Improve” to proceed.
We didn’t see this feature throughout our exams at first, as we had been attempting to improve only some hours after Ubuntu 24.04 grew to become out there. You probably have the identical problem after launching Software program Updater, shut the utility, then launch Terminal.
From right here, run:
sudo update-manager -c
If you happen to obtain a notification stating that no new Ubuntu model has been discovered, add the ‘-d’ flag to the command:
sudo update-manager -c -d
The improve device ought to now launch.
Step 3. Begin the Improve
As soon as the improve wizard launches, it can show a short introduction to Ubuntu 24.04 LTS Noble Numbat and a hyperlink to the discharge notes. Take the time to go to the hyperlink and skim via these to find all the newest enhancements in Noble Numbat.
Subsequent, select “Improve” to begin downloading the discharge improve device. As soon as that is full, the device will launch and state it’s “Getting ready to Improve.” A window will now seem asking, “Do you wish to Begin the Improve?”
Learn via the knowledge right here, because it lists the variety of packages to be put in and the area required. Then click on “Begin Improve” to proceed.
Step 4. Set up Your Upgrades
The discharge improve device will start by establishing new software program channels after which begin downloading the brand new packages talked about within the earlier step.
Throughout this course of, you might even see a immediate concerning “libc6” asking whether or not Ubuntu ought to restart companies throughout package deal upgrades with out asking. Click on “Subsequent” to substantiate.
As the discharge improve device begins putting in the upgrades, it’s possible you’ll discover that the system wallpaper will change to the default background for Noble Numbat. At this stage, you may as well click on “Terminal” to view detailed data on the improve course of.
Step 5. Cleansing Up
When the discharge improve device reaches the cleaning-up stage, a window will seem, encouraging you to “Take away out of date packages.”
If uncertain what to do, choose “Particulars” to view an inventory of redundant packages. You may select to “Preserve” these, however within the curiosity of saving area, we advocate you select “Take away.”
Step 6. Affirm Your Improve
Whether or not or not you select to take away out of date packages, Ubuntu will now ask you to restart the OS to finish the improve. Choose “Restart Now” to proceed.
As soon as logged in to the Ubuntu 24.04 desktop, you’ll be able to double-check that the improve was profitable by way of System Settings. Merely click on the workspace switcher on the high left and enter “about” within the search bar.
From right here, choose “About” in Settings to view your OS model.
You can too examine the present model of Ubuntu by way of the Terminal command:
lsb_release -a
Step 7. Re-enable PPAs and Repos
When Ubuntu is upgraded to a brand new model, by default, any third-party repositories and PPAs are disabled. Thankfully, these are simple to allow once more by way of Terminal.
Ubuntu 24.04 LTS Noble Numbat has eradicated the standard /and so forth/apt/sources.record in favor of /and so forth/apt/sources.record.d/ubuntu.sources for managing supply configuration. That is to maintain the OS in keeping with the brand new “deb822” format.
However, the fundamental course of for enabling repos/PPAS stays the identical:
- Launch Terminal and run:
sudo nano /and so forth/apt/sources.record.d/ubuntu.sources - If any third-party repos or PPAs you employ aren’t enabled, take away the ‘#’ in the beginning of the related line.
- Kind Ctrl + X, then Y to exit and save adjustments.
Keep Up-to-Date
Even after you’ve upgraded to Ubuntu 24.04, it is best to at all times examine if any additional updates have been launched. To do that, repeat the directions in Step 1 to run the Software program Updater.
Alternatively, launch Terminal after which run:
sudo apt-get replace && sudo apt-get improve
Utilizing the Terminal is advantageous on this case, as it can warn you if any of your third-party repositories/PPAs are nonetheless disabled.
Improve to Ubuntu 24.04 by way of the Command Line
If you happen to’re an skilled Linux person, it’s possible you’ll desire to improve by way of the command line. This method has some benefits in that there aren’t any home windows and buttons to handle, however first, make certain to undergo Step 1 (above) to organize your system and run a full backup.
Subsequent, open Terminal and run:
sudo do-release-upgrade
This command will particularly examine for a brand new model of Ubuntu and immediate you should you want to proceed the improve. Faucet ‘y’ to proceed.
Once we ran this command in Terminal for this tutorial, we noticed a immediate stating that no new launch of Ubuntu was out there. We had been capable of repair this by including the ‘-d’ flag, i.e.
sudo do-release-upgrade -d
We hope you discover this step-by-step information useful for upgrading from Ubuntu 23.10 to 24.04, permitting your system to learn from as much as 12 years of safety updates, efficiency enhancements, and the newest options.
Editor’s Notice: The Ubuntu pictures and screenshots featured on this article are credited to Canonical.
Discussion about this post