


However, dnf upgrade is preferred since it works exactly like yum -obsoletes update. CLI commands that differ in DNF and yumįollowing are some of the changes to yum's command-line interface (CLI) you will find in DNF.ĭnf update or dnf upgrade: Executing either dnf update or dnf upgrade has the same effect in the system: both update installed packages. You can find more details on the algorithm in libsolv's GitHub repository. These are built on top of libsolv, a package-dependency solver that uses a satisfiability algorithm. Complete documentation available for Python APIsĭNF uses hawkey libraries, which resolve RPM dependencies for running queries on client machines.The ability to run in Python 2 and Python 3.Dependency calculation based on modern dependency-solving technology.Some of the features that distinguish DNF from yum are: Since it is the next-generation version of the traditional yum package manager, it has more advanced and robust features than you'll find in yum. Free online course: RHEL Technical Overview.
