{"id":12115,"date":"2019-03-22T10:57:56","date_gmt":"2019-03-22T10:57:56","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12115"},"modified":"2019-03-22T10:57:56","modified_gmt":"2019-03-22T10:57:56","slug":"27-dnf-fork-of-yum-commands-for-rpm-package-management-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/22\/27-dnf-fork-of-yum-commands-for-rpm-package-management-in-linux\/","title":{"rendered":"27 \u2018DNF\u2019 (Fork of Yum) Commands for RPM Package Management in Linux"},"content":{"rendered":"<p><strong>DNF<\/strong>\u00a0aka\u00a0<strong>Dandified YUM<\/strong>\u00a0is a next generation Package Manager for\u00a0<strong>RPM<\/strong>\u00a0based Distribution. It was first introduced in Fedora 18 and it has replaced\u00a0<a href=\"https:\/\/www.tecmint.com\/20-linux-yum-yellowdog-updater-modified-commands-for-package-mangement\/\" target=\"_blank\" rel=\"noopener\">YUM utility<\/a>\u00a0in recent release of\u00a0<a href=\"https:\/\/www.tecmint.com\/fedora-22-released-see-whats-new-in-workstation-server-and-cloud\/\" target=\"_blank\" rel=\"noopener\">Fedora 22<\/a>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/linux-dnf-command-examples.jpg\"><img decoding=\"async\" class=\"size-medium wp-image-13562\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/linux-dnf-command-examples.jpg\" sizes=\"(max-width: 720px) 100vw, 720px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/linux-dnf-command-examples.jpg 720w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/linux-dnf-command-examples-620x297.jpg 620w\" alt=\"Linux DNF Command Examples\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p><strong>DNF<\/strong>\u00a0aims at improving the bottlenecks of\u00a0<strong>YUM<\/strong>\u00a0viz., Performance, Memory Usages, Dependency Resolution, Speed and lots of other factors. DNF does Package Management using RPM, libsolv and hawkey library. Though it does not come per-installed in CentOS and RHEL 7 you can yum, dnf and use it alongside the yum.<\/p>\n<p>You may like to read more about DNF here:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/dnf-next-generation-package-management-utility-for-linux\/\" target=\"_blank\" rel=\"noopener\">Reasons Behind Replacing Yum with DNF<\/a><\/li>\n<\/ol>\n<p>The latest stable release of\u00a0<strong>DNF<\/strong>\u00a0is\u00a0<strong>1.0<\/strong>\u00a0(at the time of writing of post) which was released on\u00a0<strong>May 11, 2015<\/strong>. It (and all previous version of DNF) is mostly written in Python and is released under GPL v2 License.<\/p>\n<h4>Installation of DNF<\/h4>\n<p>DNF in not available in the default repository of\u00a0<strong>RHEL<\/strong>\/<strong>CentOS 7<\/strong>. However Fedora 22 ships with DNF implemented officially.<\/p>\n<p>To install\u00a0<strong>DNF<\/strong>\u00a0on\u00a0<strong>RHEL\/CentOS<\/strong>\u00a0systems, you need to first install and enable\u00a0<strong>epel-release<\/strong>\u00a0repository.<\/p>\n<pre># yum install epel-release\r\nOR\r\n# yum install epel-release -y\r\n<\/pre>\n<p>Though it is not ethical to use \u2018<strong>-y<\/strong>\u2018 with yum as it is recommended to see what is being installed in your system. However if this does not matter you much you may use \u2018-y\u2019 with yum to install everything automatically without user\u2019s intervention.<\/p>\n<p>Next, install DNF package using yum command from\u00a0<strong>epel-release<\/strong>\u00a0repository.<\/p>\n<pre># yum install dnf\r\n<\/pre>\n<p>After\u00a0<strong>dnf<\/strong>\u00a0installed successfully, it\u2019s time to show you\u00a0<strong>27<\/strong>\u00a0practical usage of\u00a0<strong>dnf commands<\/strong>\u00a0with examples that will help you to manage packages in RPM based distribution easily and effectively.<\/p>\n<h4>1. Check DNF Version<\/h4>\n<p>Check the version of DNF installed on your System.<\/p>\n<pre># dnf --version\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-DNF-Version.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13526\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-DNF-Version.gif\" alt=\"Check DNF Version\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>2. List Enabled DNF Repositories<\/h4>\n<p>The option \u2018<strong>repolist<\/strong>\u2018 with dnf command, will display all enabled repositories under your system.<\/p>\n<pre># dnf repolist\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-All-Enabled-Repositories.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13527\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-All-Enabled-Repositories.gif\" alt=\"Check All Enabled Repositories\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>3. List all Enabled and Disabled DNF Repositories<\/h4>\n<p>The option \u2018<strong>repolist all<\/strong>\u2018 will print all the enabled\/disabled repositories under your system.<\/p>\n<pre># dnf repolist all\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-All-Repositories.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13528\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-All-Repositories.gif\" alt=\"List All Enabled\/Disabled Repositories\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>4. List all Available and Installed Packages using DNF<\/h4>\n<p>The command \u201c<strong>dnf list<\/strong>\u201d will list all the available packages from all the repositories and installed packages on your Linux system.<\/p>\n<pre># dnf list\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Packages.png\"><img decoding=\"async\" class=\"size-medium wp-image-13529\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Packages.png\" sizes=\"(max-width: 815px) 100vw, 815px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Packages.png 815w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Packages-620x389.png 620w\" alt=\"List All Packages using DNF\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>5. List all Installed Packages using DNF<\/h4>\n<p>While the \u201c<strong>dnf list<\/strong>\u201d command shows all the available\/installed packages from all the repositories. However, you have the option to list only the installed packages using option \u201c<strong>list installed<\/strong>\u201d as shown below.<\/p>\n<pre># dnf list installed\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Installed-Packages.png\"><img decoding=\"async\" class=\"size-medium wp-image-13530\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Installed-Packages.png\" sizes=\"(max-width: 815px) 100vw, 815px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Installed-Packages.png 815w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Installed-Packages-620x389.png 620w\" alt=\"List All Installed Packages\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>6. List all Available Packages using DNF<\/h4>\n<p>Similarly, the \u201c<strong>list available<\/strong>\u201d option, will list all the packages available to be installed from all the enabled repositories.<\/p>\n<pre># dnf list available\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Available-Packages.png\"><img decoding=\"async\" class=\"size-medium wp-image-13532\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Available-Packages.png\" sizes=\"(max-width: 815px) 100vw, 815px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Available-Packages.png 815w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-Available-Packages-620x389.png 620w\" alt=\"List Available Packages using DNF\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>7. Search for a Package using DNF<\/h4>\n<p>If incase, you\u2019ve no idea about the package that you want install, in such situation you may use \u2018<strong>search<\/strong>\u2018 option with dnf command to search for the package that matches the word or string (say nano).<\/p>\n<pre># dnf search nano\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Search-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13533\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Search-Package.gif\" alt=\"Search Package by Word\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>8. See what Provides a file\/sub-package?<\/h4>\n<p>The dnf option \u201c<strong>provides<\/strong>\u201d find the name of the package that provides specific file\/sub-package. For example, if you would like to find what provides \u2018<strong>\/bin\/bash<\/strong>\u2018 on your system?<\/p>\n<pre># dnf provides \/bin\/bash\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Find-Package-Sub-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13534\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Find-Package-Sub-Package.gif\" alt=\"Find File Sub Package\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>9. Get Details of a Package using DNF<\/h4>\n<p>Let\u2019s assume you want to know the information of a package before installing it on the system, you may use \u201c<strong>info<\/strong>\u201d switch to get a detailed information about a package (say nano) as below.<\/p>\n<pre># dnf info nano\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-Package-Information.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13535\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-Package-Information.gif\" alt=\"Check Package Information with DNF\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>10. Install a Package with DNF<\/h4>\n<p>To install a package called\u00a0<strong>nano<\/strong>, just run the below command it will automatically resolve and install all required dependencies for package\u00a0<strong>nano<\/strong>.<\/p>\n<pre># dnf install nano\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Package-DNF.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13536\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Package-DNF.gif\" alt=\"Install Package using DNF\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>11. Updating a Package using DNF<\/h4>\n<p>You may update only a specific package (say\u00a0<strong>systemd<\/strong>) and leave everything on the system untouched.<\/p>\n<pre># dnf update systemd\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-a-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13539\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-a-Package.gif\" alt=\"Update a Specific Package\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>12. Check for System Updates using DNF<\/h4>\n<p>Check updates for all the system packages installed into the system simply as.<\/p>\n<pre># dnf check-update\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-For-System-Update.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13540\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-For-System-Update.gif\" alt=\"Check For System Update\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>13. Update All System Packages using DNF<\/h4>\n<p>You may update the whole system including all the installed packages with following commands.<\/p>\n<pre># dnf update\r\nOR\r\n# dnf upgrade\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-System.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13541\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-System.gif\" alt=\"Update System\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>14. Remove\/Erase a Package using DNF<\/h4>\n<p>To remove or erase any unwanted package (say\u00a0<strong>nano<\/strong>), you may use \u201c<strong>remove<\/strong>\u201d or \u201c<strong>erase<\/strong>\u201d switch with dnf command to remove it.<\/p>\n<pre># dnf remove nano\r\nOR\r\n# dnf erase nano\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13542\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Package.gif\" alt=\"Remove Package in Linux\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>15. Remove Orphan Packages using DNF<\/h4>\n<p>Those packages that were installed to satisfy dependency may be useless if not being used by other applications. To remove those orphan packages execute the below command.<\/p>\n<pre># dnf autoremove\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Autoremove-Packages.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13543\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Autoremove-Packages.gif\" alt=\"Remove Orphan Packages\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>16. Remove Cached Packages using DNF<\/h4>\n<p>A lot of time we encounter out-of-date headers and unfinished transactions which results into error while executing dnf. We may clean all the cached packages and headers containing remote package information simply by executing.<\/p>\n<pre># dnf clean all\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Cache-Packages.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13545\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Cache-Packages.gif\" alt=\"Remove DNF Cache\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>17. Get Help on Specific DNF Command<\/h4>\n<p>You may get help of any specific dnf command (say\u00a0<strong>clean<\/strong>) just by executing the below command.<\/p>\n<pre># dnf help clean\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Help-on-DNF-Command.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13546\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Help-on-DNF-Command.gif\" alt=\"Get DNF Command Help\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>18. List all DNF Commands and Options<\/h4>\n<p>To list help on all available dnf commands and option simply type.<\/p>\n<pre># dnf help\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/DNF-Options.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13547\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/DNF-Options.gif\" alt=\"Get Help on DNF Options\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>19. View History of DNF<\/h4>\n<p>You may call dnf history to look at the list of already executed dnf commands. This way you can be aware of what was installed\/removed with time stamp.<\/p>\n<pre># dnf history\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-DNF-History.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13548\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Check-DNF-History.gif\" alt=\"Check DNF History\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>20. List all Group Packages<\/h4>\n<p>The command \u201c<strong>dnf grouplist<\/strong>\u201d will print all available or installed packages, if nothing is mentioned, it will list all known groups.<\/p>\n<pre># dnf grouplist\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Group-Packages.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13549\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/List-All-Group-Packages.gif\" alt=\"List All Group Packages\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>21. Install a Group Package using DNF<\/h4>\n<p>To install a Group of packages bundled together as group package (say\u00a0<strong>Educational Software<\/strong>) simply as.<\/p>\n<pre># dnf groupinstall 'Educational Software'\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Group-Packages.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13550\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Group-Packages.gif\" alt=\"Install Group Packages\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>22. Update a Group Package<\/h4>\n<p>Let\u2019s update a Group Package (say\u00a0<strong>Educational Software<\/strong>) by executing the below command.<\/p>\n<pre># dnf groupupdate 'Educational Software'\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-Group-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13551\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Update-Group-Package.gif\" alt=\"Update Group Package\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>23. Remove a Group Package<\/h4>\n<p>We can remove the group Package (say\u00a0<strong>Educational Software<\/strong>) as.<\/p>\n<pre># dnf groupremove 'Educational Software'\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Group-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13552\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Remove-Group-Package.gif\" alt=\"Remove Group Package\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>24. Install a Package from Specific Repository<\/h4>\n<p>DNF makes it possible to install any specific package (say\u00a0<strong>phpmyadmin<\/strong>) from a repo (<strong>epel<\/strong>) as simply as,<\/p>\n<pre># dnf --enablerepo=epel install phpmyadmin\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Package-From-Specific-Repo.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13554\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Install-Package-From-Specific-Repo.gif\" alt=\"Install Package From Specific Repo\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>25. Synchronize Installed Packages to Stable Release<\/h4>\n<p>The command \u201c<strong>dnf distro-sync<\/strong>\u201d will provides necessary options to synchronize all installed packages to most recent stable version available from any enabled repository. If no package is selected, all installed packages are synchronized.<\/p>\n<pre># dnf distro-sync\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Synchronize-Packages.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13555\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Synchronize-Packages.gif\" alt=\"Synchronize Packages to Stable Version\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>26. Reinstall a Package<\/h4>\n<p>The command \u201c<strong>dnf reinstall nano<\/strong>\u201d will reinstall an already installed package (say\u00a0<strong>nano<\/strong>).<\/p>\n<pre># dnf reinstall nano\r\n<\/pre>\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Re-Install-Package.gif\"><img decoding=\"async\" class=\"size-medium wp-image-13558\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2015\/05\/Re-Install-Package.gif\" alt=\"ReInstall Package\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<h4>27. Downgrade a Package<\/h4>\n<p>The option \u201cdowngrade\u201d will downgrades the named package (say acpid) to lower version if possible.<\/p>\n<pre># dnf downgrade acpid\r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre>Using metadata from Wed May 20 12:44:59 2015\r\nNo match for available package: acpid-2.0.19-5.el7.x86_64\r\nError: Nothing to do.\r\n<\/pre>\n<p><strong>My observation<\/strong>: DNF does not downgraded the package as it is supposed to. It has also been reported as bug.<\/p>\n<h3>Conclusion<\/h3>\n<p><strong>DNF<\/strong>\u00a0is the upper state of the end of the art Package Manager YUM. It tends to do a lot of processing automatically which is not going to be praised by many experienced Linux System Administrator, as I believe. As a matter of example:<\/p>\n<ol>\n<li><code>--skip-broken<\/code>\u00a0is not recognized by DNF and there is no alternative.<\/li>\n<li>There is nothing like \u2018<strong>resolvedep<\/strong>\u2018 command however you may run dnf provides.<\/li>\n<\/ol>\n<ol>\n<li>There is no \u2018<strong>deplist<\/strong>\u2018 command to find package dependency.<\/li>\n<li>You exclude a repo, means the exclusion apply on all operations, unlike yum which excludes those repos only at the time of install and updates, etc.<\/li>\n<\/ol>\n<p>Several Linux users are not happy the way Linux Ecosystem is moving. First\u00a0<a href=\"https:\/\/www.tecmint.com\/systemd-replaces-init-in-linux\/\" target=\"_blank\" rel=\"noopener\">Systemd removed init system v<\/a>\u00a0and now DNF will be replacing YUM sooner in\u00a0<strong>Fedora 22<\/strong>\u00a0and later in RHEL and CentOS.<\/p>\n<p>What do you think? are distributions and the whole Linux ecosystem is not valuing it\u2019s users and moving against their will. Also it is often said in IT industry \u2013 \u201c<strong>Why fix, If not broken?<\/strong>\u201d, and neither init System V is broken nor YUM.<\/p>\n<p>That\u2019s all for now. Please let me know your valuable thoughts in the comments below. Like and share us and help us get spread.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/dnf-commands-for-fedora-rpm-package-management\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DNF\u00a0aka\u00a0Dandified YUM\u00a0is a next generation Package Manager for\u00a0RPM\u00a0based Distribution. It was first introduced in Fedora 18 and it has replaced\u00a0YUM utility\u00a0in recent release of\u00a0Fedora 22. DNF\u00a0aims at improving the bottlenecks of\u00a0YUM\u00a0viz., Performance, Memory Usages, Dependency Resolution, Speed and lots of other factors. DNF does Package Management using RPM, libsolv and hawkey library. Though it does &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/22\/27-dnf-fork-of-yum-commands-for-rpm-package-management-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;27 \u2018DNF\u2019 (Fork of Yum) Commands for RPM Package Management in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12115","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12115"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12115\/revisions"}],"predecessor-version":[{"id":12116,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12115\/revisions\/12116"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}