Linux distributions based on Red Hat use package manager called Red Hat Package Manager — RPM to install your software. Among the most famous distributions are Red Hat’s own Linux Enterprise, Fedora, and CentOS.
RPM is a powerful package manager that allows the administrator to install, remove, and obtain package information. It is a software distribution method widely used in several Linux distributions, in addition to Red Hat.
It also makes it possible to build packages from source files, verify the digital signature, simulate an installation of programs, among others. It’s as powerful as dpkg and apt-get.
The Linux distribution Fedora made its own package manager based on Red Hat, called DNF.
DNF is a software package manager that installs, updates, and removes packages in RPM-based Linux distributions, much like YUM.
It automatically calculates dependencies and determines the actions required to install packages.
DNF also makes it easy to maintain groups of machines, eliminating the need to manually update each one using rpm.
Introduced in Fedora 18, it has been the standard package manager since Fedora 22.
For many, DNF or “Dandified Yum” is the next generation version of Yum.
It maintains the compatibility of the Yum interface and defines a strict API for extensions and plugins. The fact that it allows the installation of plugins is very welcome, as they can modify or expand the features of the DNF and provide additional interface commands.
If DNF isn’t installed on your Red Hat-based distribution, you can do so using Yum:
# yum install dnf
The commands that DNF accepts are very similar to Yum:
Examples of using DNF are very similar to YUM, since DNF is considered an evolution of YUM.
Whether you use Fedora or Red Hat, the dnf command is essential for managing packages in these distributions.
The sudo command on Linux executes a given command as if it were another user.…
The ss command on Linux is extremely useful for investigating sockets, providing various information about…
Free Linux command shows the amount of total memory in use and available, as well…
The shell has structures for testing conditions and executing certain program sequences several times (loop),…
The /etc/fstab file stores the configuration of which devices should be mounted and what is…
The Netcat Command in Linux or nc is a utility used to do “almost anything”…
This website uses cookies.