Fedora 22 released - how to upgrade

Grab it today. Fedora 22 is out. And just like Fedora 21, it comes now in 3 flavors. Workstation, Server and Cloud.

The spins have also been released. Spins are alternative desktop environments for Fedora and ready to run mixes like security spin, (which I also find it better than kali linux or the old unstable left for dead backtrack)  You can download and test the Fedora spins from the following link.

The Fedora team proudly announced the official release of Fedora 22 yesterday. Like it’s previous versions, Fedora 22 comes as three different editions targeted to different segment: Fedora 22 workstation, Fedora 22 Server, and Fedora 22 Cloud. As the name of three editions says, each edition comes with respective packages for the particular segment.

Fedora 22 Workstation targets to desktop and laptop users, and Server edition targets to the server, virtualization and storage section, and the Cloud edition targets to the Cloud environment.

What to expect from it, as posted before, was in most cases right. That’s good. But a complete list of changes is here:

What’s new in Fedora 22

Here is the list of new changes and feature updates in Fedora 22.

  • Linux Kernel 4.0.4;
  • GNOME 3.16 ;
  • systemd 209 ;
  • Mesa 10.5.4 ;
  • Wayland is default X server ;
  • Xorg Server 1.17.1 ;
  • Firefox 38.0.1 ;
  • LibreOffice ;
  • Shotwell 0.22.0 ;
  • Rhythmbox 3.2.1 ;
  • Transmission 2.84 ;
  • Empathy 3.12.10 ;
  • GNOME Shell 3.16.2 and GTK+ 3.16.3 ;
  • GCC 5.1 ;
  • GDM uses Wayland by default, instead of Xorg ;
  • DNF is now default package manager instead of YUM ;
  • Preupgrade Assistant- A diagnostic utility ;
  • The GNOME Shell and other themes and design are refined and improved ;
  • Plasma 5, the successor to KDE Plasma 4, is now the default workspace in the Fedora KDE ;
  • Xfce 4.12 ;
  • And many new improved features.

For more details, check the Fedora 22 release notes.


And for anyone that uses Fedora 21,  let us see how to upgrade to Fedora 22

How to upgrade From Fedora 21 to Fedora 22

We will use Fedup. Fedup is theFedora Upgrade tool to upgrade your Fedora system to the latest available version. The fedup client runs on the system to be upgraded. It determines what packages are needed for upgrade and gathers them from the source(s) given. It also fetches and sets up the boot images needed to run the upgrade and sets up the system to perform the upgrade at next boot. The actual upgrade takes place when the system is rebooted, using the boot images set up by fedup. The upgrade initrd starts the existing system (mostly) as normal, lets it mount all the local filesystems, then starts the upgrade. When the upgrade finishes, it reboots the system into the newly-upgraded OS.


Step 1: Update your system

Here is my current system (Fedora 21) server details. Execute all commands with root privileges.

Sample output:


Sample output:

Update your system using the following command:

Reboot your system to apply the changes.

Step 2: Install And Update FedUP

Install FedUP and fedora-release packages using the following command from the Terminal.

Update fedup utility:

Step 3: Start Upgrade

We can upgrade in three methods.

The first one is network upgrade, and it is the recommended one. Using a network source is the easiest method of upgrading and will pull in updates while upgrading – eliminating the potential issue if your current system has a newer kernel version than the Fedora release to which you are upgrading.

The second method is using ISO file. Download the Fedora 21 ISO appropriate to your current architecture, and start the upgradation.

The third one is similar to ISO method, but we will use DVD instead of ISO file. Burn the downloaded ISO to a DVD, and start the upgradation process.

Now, let u upgrade Fedora 21 to Fedora 22 using command as shown below.

In my case, I am going to upgrade to Fedora 22 server using the first method i.e from fedora mirror.

So, I ran the following command in Terminal:

Or just run:

Note: In Fedora 21, the first command didn’t work. I really have no idea why is that. I searched on the Fedora forums and other sites, there was no solution yet.

I got the following error when I run the first command.

Luckily, the second command worked (fedup –network 22) as expected.

The FedUP will start to fetch the latest packages. This will take quite a long time depending upon your Internet connection speed. So be patient.

After downloading all packages, you will be asked to reboot your system.

In case for any reason to abort the upgrade, run the following command:

From the boot menu, select System Upgrade. to start the upgrade process.

Now the actual actual upgrade takes place. Your Fedora system will start to install all downloaded packages.

Once the upgrade is complete, FedUp will reboot the system automatically. There you go. Your system is upgraded to the current release i,e Fedora 22.

Also, you can check the version using the following command:

Sample output:


Sample output:

Now. clean up the post upgrade using the following commands:

Finally reboot your system once to update and remove all old kernels.

That’s it. Congratulations!! We have successfully upgraded to Fedora 22.

It is time to play with the new Fedora system.