Fedora 24 general release was announced yesterday and many users are now hoping to upgrade to the latest edition of the popular Linux distribution.
In this how to guide, we shall look at the various steps you can follow to upgrade from Fedora 23 Workstation to Fedora 24.
The recommended method is using the dnf upgrade plugin and it is what we shall use in this guide.
There are two possible ways to process the upgrade, the first and easy way is using the GUI gnome-software referred to as Software app in a fully updated Fedora 23.
The second method is using the command line which is our main focus for this how to guide.
1. Backup Your System and Update Software
It is always a good practice to backup your system before making any changes to it, because of uncertainties that come along with upgrades. Then next you have to make sure that you have the latest software running on your Fedora 23 using this command below:
$ sudo dnf upgrade --refresh
You can alternatively use Gnome software, if you prefer not to use the command line.
2. Install DNF Upgrade Plugin
This is a very important step as dnf plugin is the recommended tool to use for upgrading, you can install by running the command below.
$ sudo dnf install dnf-plugin-system-upgrade
3. Update Your Fedora System
If the previous steps have worked successfully meaning your system now has the latest software versions, start the upgrade process as follows:
$ sudo dnf system-upgrade download --releasever=24
You can also include the
--allowerasing option which helps to remove all packages that may break the upgrade process as a result of certain packages not having updates, retired packages or even broken dependency issues.
4. Reboot the System and Upgrade
After the previous step is done, meaning the system has been updated with Fedora 24 package list, and all the packages have been downloaded, you need to restart your system by issuing the command below:
$ sudo dnf system-upgrade reboot
After running the command above, select the old Fedora 23 kernel and the upgrade process will kick start, when it is done upgrading, you will have Fedora 24 running on your machine.
I believe these are simple steps with direct instructions, therefore you may not face a lot of problems while upgrading from Fedora 23 to Fedora 24, but as usual, some users may face certain difficulties or issues.
You can drop a comment for any help or visit the DNF system upgrade wiki page for more help, it also include all the options that you can use with the dnf upgrade plugin.