DNF – The Next Generation Package Management Utility for RPM Based Distributions

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

7 Responses

  1. Ravichandran says:

    I have installed DNF in RHEL 7. While i try to update dnf, i got the below error.
    # dnf update
    “Failed to open: /var/cache/dnf/x86_64/7.1/x86_64/7.1/epel/repodata/78892cbf09fce6504b691ad19bf59507d65da9eacdebc0aa6ed1d053b502f829-updateinfo.xml.bz2.”

    • Ravi Saive says:


      Try to run following series of commands to fix that error.

      # dnf clean all
      # dnf repolist
      # dnf upgrade

      If you still see the same error, try to disable extra add-on repositories like EPEL or RepoForge, these repositories are for RHEL/CentOS Only.

      First, check your /etc/yum.repos.d/ directory, here if you find other than fedora.repo, fedora-updates.repo, and fedora-updates-testing.repo.

      Remove or disable them and then run the following command.

      # dnf dnf distro-sync

      Hope, it will fix your problem..

  2. Jeff says:

    You may wish to work on your english a bit because this is full of errors making it difficult to read, but thanks for the article.

  3. Roshan Gayaki says:

    I would suggest to have some kind of patching solution integrated to this tool.. All the Best

  4. Hunkah says:

    Maybe you could write about how DNF/Libsolv/Hawkey compares to APT-GET and what the benefits are to using one over the other…

    Or possibly how the new Gnome 3 “Software” interacts with DNF.

    • Avishek Kumar says:

      May be!

      But the theme of article was Yum replacement with DNF. As far as software interaction matters, let the project attain some level of maturity.

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 66,682
  2. 3,836
  3. 31,647

Enter your email to get latest Linux Howto's