Traditional way to upgrade Fedora 25 via DNF utility

Fedora 25 was out on November 22, 2016 after usual delay. Fedora is free, leading-edge operating system sponsored by RedHat and maintained by Fedora community.

We have already covered in our previous article Fedora 25 upgrade via Gnome software.

Fedora 25 upgrade via Gnome software

Here i’m going to show you, usual upgrade method via DNF utility.

Useful Fedora 25 Articles

Back up your system

Make sure your system got backup before initiating upgrade, either deja-dup tool or manual backup such as copying your important data’s to external hard disk, pen drive.

1) Don’t forget to take backup of your important/valuable data. If something goes wrong we will install freshly and restore the data.
2) Upgrade will take time based on your Internet connection and package which you have installed on your box.

Make your system upto date

Make sure your system upto date before initiating upgrade by firing the below command on your terminal. This will upgrade your current system packages to latest version.

[Update system upto date]
$ sudo dnf upgrade --refresh

Disable Third Party Repos

As per FedoraMagazin page many users faced third party repo conflict error. So, i advise users to disable Third party repo’s before firing dnf-plugin-system-upgrade command. Mainly the conflict occur with RPMFusion Repo and i didn’t face any issue with other third party repos, even though disable all other third party repo too, we can enable later.

[Disable RPMFusion Repo]
$ sudo dnf config-manager --set-disabled rpmfusion-free
$ sudo dnf config-manager --set-disabled rpmfusion-nonfree
$ sudo dnf config-manager --set-disabled rpmfusion-free-updates
$ sudo dnf config-manager --set-disabled rpmfusion-nonfree-updates

No need to disable any third party repo manually because it will automatically disable the repo, when it’s not meet the dependencies. See the below screenshot.


Install the DNF plugin

Install the DNF plugin by firing the below command on terminal

[Install the DNF plugin]
$ sudo dnf install dnf-plugin-system-upgrade

Magesh Maruthamuthu

Love to play with all Linux distribution

You may also like...

Please support the site
By clicking any of these buttons you help our site to get better