How to Upgrade from Fedora 25 to Fedora 26

Share it:
How to Upgrade from Fedora 25 to Fedora 26

Fedora team officially released the Fedora 26 on 11th July 2017.Fedora offers a Graphical method upgradations(Workstation) as well as Command-line upgrading.

In this tutorial, I will show you how to upgrade from Fedora 25 to Fedora 26 using command line upgrade method.

So what's New in Fedora 26

  • Fedora 26 has a lot of improvements from the various upstream Softwares, new development tools are integrated like GCC7 , Golang 1.8 and Python 3.6.
  • Anaconda gets a new partitioning tool so that sysadmins and others can build up their own storage scheme from basics and DNF Package manager upgraded to a new major version with new features

Using the Command line for upgrade 

Step 1: Take backup and update software

Before proceeding for upgrade our software needs to be up to date, so update our local software's using the below command and once it is done take a backup of your data.
sudo dnf upgrade --refresh
If you are not sure about how to take backup read this document on the Fedora Magazine site

Step 2: Install the dnf Upgrade Plugin
sudo dnf install dnf-plugin-system-upgrade
Step 3: Download the Fedora 26 packages

After firing the below command it will start downloading all the necessary packages and the allowerasing flag is to avoid issues while upgrading.

Some packages have broken dependencies or retired packages without this allowerasing flag it will throw error
sudo dnf system-upgrade download --allowerasing --releasever=26 
Step 4: Reboot and upgrade

Once all the packages are downloaded, issue the below command it will reboot the system and initiate the upgrading process.

After the initial reboot select the Fedora 25 kernel and after that, only the upgrade will start.
sudo dnf system-upgrade reboot
Upgrade from Fedora 25 to Fedora 26

Note: If you faced issue during upgrade please refer this DNF upgrade wiki page.
Share it:

Post A Comment: