DNF

Dandified YUM or DNF is the name of the package management utility. DNF is the next-generation version of YUM. It's used in RPM-based distributions. DNF was introduced in Fedora 18, and has been the default package manager for Fedora since version 22. In fact, when we run YUM commands in later releases of Fedora, we are actually running dnf in the background. The dnf utility offers, among other things, performance, memory usages, and dependency resolution.

To get started, we can check the version of dnf on our Fedora 28 system, we use the --version option:

[root@localhost philip]# dnf --version2.7.5Installed: dnf-0:2.7.5-12.fc28.noarch at Wed 25 Apr 2018 06:35:34 AM GMTBuilt    : Fedora Project at Wed 18 Apr 2018 02:29:51 PM GMTInstalled: ...

Get CompTIA Linux+ Certification Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.