14

What is the difference between DNF and RPM as package managers? What are the advantages of one vs the other, and in what situations would those apply?

1 Answer 1

17

These tools work together. DNF handles dependency solving, finding files on the network, repository management, and so on. RPM handles the lower-level part of actually putting the files on your system.

In most cases as an end user, DNF is all you need to interact with. You might use RPM commands for lower-level troubleshooting, but in most cases DNF provides all the functionality in a more friendly manner.

Note that you may also see "Yum". DNF is the successor to that tool, which essentially did the same thing. In recent versions of the Fedora OS, yum and dnf are exactly interchangeable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.