Upgrade fedora 21 to 22 using fedup.

fedora 22 image

In this post we are going to upgrade fedora 21 to 22 using fedup.

Fedora 22 has been released by 2015-05-26.


An important thing to know about Fedora 22, is that the new default package manager has been switched to “dnf”. So “dnf” is the new “yum”.
For the end user, there is not much difference between yum and dnf.
Both yum and dnf can manage rpm packages.
And the only sensible difference is that is works faster than yum. Especially when it comes to detect the deltas between the packages and figuring out what dependencies need to be fulfilled.
If you would like to read up more about how dnf works and how it differs from yum, check out the following links.

Wikipedia: http://en.wikipedia.org/wiki/DNF_(software)
dnf-blog: http://dnf.baseurl.org/

Lets start with the upgrade fedora 21 to 22 using fedup.

1. lets make sure your system is up to date.

sudo dnf update


sudo yum update

2. Install the necessary tools needed to update your system.

The fedup tool is the programm that will update our Fedora to the new release.

sudo dnf install fedup


sudo yum install fedup

3. Prepare your system for the update.

Now we will use the fedup tool to prepare our system to be updated. Fedup will download a bunch of stuff and preconfigure our system to be updated.

Executing this command will not update your system.

However fedup will create a new entry in your boot menu to do a system upgrade. If you do not choose that option on in your boot menu, your system will not updated. (See point 4 for a screenshot of what I describe here).

sudo fedup --network 22

4. Update your system

Now to the real update. Reboot your system and choose the “System Upgrade (fedup)” option in your boot menu.

Grub Boot Menu with Upgrade option selected.

Grub Boot Menu with Upgrade option selected.

Now your system will update itself and reboot once it’s done.

After that your system will boot into the new Fedora 22 release.


So that’s it for our upgrade fedora 21 to 22 using fedup.

If you would like to know more about Fedup, follow this link to the wiki page of the fedup software: https://fedoraproject.org/wiki/FedUp