As I was exploring about Fedora 22 (I'm currently using fedora 20), I came to learn that Yum has been replaced by DNF. Basically what I want to know is the difference between those two Fedora package managers and the reason for this change.

2 Answers 2


Compared to Yum, DNF offers:

  1. Better dependency management
  2. Support Extensions other than Python
  3. Documented API
  4. Lower memory usage
  5. Less automatic synchronization of metadata with repositories, a process that users often complain "happens too often and takes too much time."

See Will DNF Replace Yum?

  • 1
    I'd be interested in understanding what's is objectionable with this answer. If it is factually incorrect, I'd like to correct it. If there is some sort of "style" thing going on, that would be nice to know too.
    – rocky
    Commented Jul 4, 2015 at 13:27

Differences in the command line behavior is documented extensively in the DNF docs, at Changes in DNF CLI compared to Yum. That also includes a mapping and brief explanation of differences in common plugins and utilities.

As for "why", I recommend this article from DNF developers. In quick summary:

  • the Yum API was organically grown, rather than designed and documented
  • the Yum dep solver was an exercise in cleverness, and sometimes painted itself into corners. New one is a SAT solver and more mathematically correct.
  • code base considered unwieldy and hard to refactor without breaking things

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .