An Introduction to DNF with 20 Examples

DNF stands for Dandified YUM, a completely updated version of YUM Package Manager. It was originally introduced on Fedora 18 and has now become the default package manager on Fedora 22, RHEL, and CentOS 8 to handle the RPM package management. DNF improves the deficiencies of YUM, including poor performance, high memory usage, and slowness for dependency resolution. The current and stable version of DNF is 4.2.7.

In this article, learn how to use DNF commands in Fedora, CentOS, and RHEL with many sub-commands. All of the following examples of DNF commands are tested on RHEL and CentOS 8.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis