How to upgrade fedora 24 to fedora 25

0
260

Fedora Project, proudly announced the  Fedora 25 Final Release Public Availability (GA) version on November 22, 2016, Now it is available to Download and Install it on your machines. we can Download fedora 25 from their official site.

In this article, we will be known about how to upgrade from fedora 24 to 25.

Note: Before we going to upgrade, Backup all the important Data and configuration files.

We will find the current Linux Distribution by using following commands

#uname –r
#cat /etc/redhat-release

Sample Output:

fedora-version-check

Now run the following command in terminal to make the system is up to date.

#dnf upgrade

dnf-upgrade

Once it completes update your system by using standard updater as follows

#dnf update --refresh

Once all the packages are upgraded then reboot the system by using the following command

#reboot

Now Install the DNF plugin by using the command as follows

[root@localhost ~]# dnf install dnf-plugin-system-upgrade
Last metadata expiration check: 0:05:05 ago on Fri Nov 25 12:37:51 2016.
Dependencies resolved.
======================================================================================================================================
 Package                                           Arch                   Version                        Repository              Size
======================================================================================================================================
Installing:
 dnf-plugin-system-upgrade                         noarch                 0.7.1-2.fc24                   fedora                  49 k
 python3-dnf-plugin-system-upgrade                 noarch                 0.7.1-2.fc24                   fedora                  31 k

Transaction Summary
======================================================================================================================================
Install  2 Packages

Total download size: 80 k
Installed size: 173 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): python3-dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch.rpm                                       31 kB/s |  31 kB     00:01
(2/2): dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch.rpm                                               48 kB/s |  49 kB     00:01
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                  24 kB/s |  80 kB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : python3-dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch                                                             1/2
  Installing  : dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch                                                                     2/2
  Verifying   : dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch                                                                     1/2
  Verifying   : python3-dnf-plugin-system-upgrade-0.7.1-2.fc24.noarch                                                             2/2

Installed:
  dnf-plugin-system-upgrade.noarch 0.7.1-2.fc24                 python3-dnf-plugin-system-upgrade.noarch 0.7.1-2.fc24

Complete!
[root@localhost ~]#

Now run the followiing command to upgrade to fedora 25

#dnf system-upgrade download --refresh --releasever=25
                      (or)
#dnf system-upgrade download --refresh --releasever=25 --allowerasing

Here releasever is the number of distribution version and we can also pass the arguments –allowerasing to fix the issues when the time of upgrading.

Sample Output:

fedora-25-dnf-update

It takes some time depend on your internet speed. Once the download completes run the following command to reboot and upgrade the system

#dnf system-upgrade reboot

The system should boot again  using the same kernel, but this time, the upgrade process appears on the boot screen. Once the upgrade process completed we are able to login in newly upgraded fedora 25 operating system.

 

upgrade-process1

fedora-25-upgrade

Once system is up login with the credentials Then check Linux distribution version as follows

fedora-25

Now Enjoy fedora 25 and comment latest features in fedora 25.