

sudo dnf update nginx mariadb Exclude Package from Being Updated sudo dnf update Update Certain Packages OnlyĪlternatively, use the following command to update only the selected packages, for example, nginx and mariadb.
INSTALL .XZ LINUX INSTALL
If any updates are available, use the following command to install them all. They help to ensure the security and seamless operation of your Linux system. The most commonly used actions are update operations on currently installed packages. In our case, no packages are available for updating, but if any are, they will be listed. The command checks for updates but does not download or install the packages. Using the command below, you can obtain a list of all packages from your enabled software repositories that are available for updating your existing packages on your system. One of the most commonly used DNF commands is the check for available software package updates.
INSTALL .XZ LINUX HOW TO
Now that you know what DNF is and why it is superior to YUM let’s get into this guide: how to use DNF to manage software packages in RPM-based Linux distributions.

With that said, we can outline the following most essential advantages of DNF over YUM: All of this led to the development of a superior version of YUM, resulting in DNF’s emergence. Unfortunately, YUM has some issues, the most severe of which are poor performance, excessive memory utilization, and dependency resolution delay. Like the DNF, YUM (YellowDog Updater Modified) is a package manager used to manage the software packages’ installation, update, and removal in an RPM-based Linux system. So, before we go any further, let’s look over the benefits of DNF over YUM. Many of you are likely familiar with its predecessor, YUM. It was initially introduced in Fedora 18 in 2013.ĭNF simplifies package maintenance by automatically checking for dependencies and determining the actions needed to install, remove, update, or perform any other operation on your Linux system’s package base.įurthermore, the DNF package manager allows you to manage and collect information about software repositories on your Linux system.
