DNF, YUM and RPM package manager comparison
Introduction We have been using the yum or rpm package management tools for a while for managing packages in Redhat, Centos and other distributions which have been forked from RHEL. Yum has been the default package manager since Redhat Enterprise Linux 5 onwards. Before yum, RHEL systems had been using the up2date software management program. The DNF package manager was introduced in Fedora 18 and became the default package manager for the Fedora distribution for operating system version Fedora 22 onwards and is intended to be a replacement for yum. In this article, we will compare these package managers to provide some perspective as to when and why you should consider using one over the other. Sno DNF YUM RPM 1 Written in C and Python Written in python Written in C and Perl 2 DNFs uses libsolv for dependency resolution which was created and maintained by SUSE YUM uses public API for dependency resolution RPM does not provide dependency resolution 3 Dependency resolution is fast and easy making installation of groups of packages very simple Dependency resolution is slower as compared to dnf but is still fairly straightforward Due to lack of dependency...
Read More