Yum to DNF Cheatsheet

All tools in DNF added by plugins (coreextras)

Yum ToolDNF ToolNotes
debuginfo-installdnf debuginfo-install
find-repos-of-installUse dnf list installed pkg instead
dnf kickstart
needs-restartingdnf tracer
package-cleanupcovered by dnf list and dnf repoclosure; see man yum2dnf for details
repoclosurednf repoclosure
repodiff
repo-graphdnf repograph
repomanagednf repomanage
repoquerydnf repoquery
repo-rss
reposyncdnf reposync
repotrackdnf download
show-changed-rco
show-installed
verifytree
yum-builddepdnf builddep
yum-config-managerdnf config-manager
yum-debug-dumpdnf debug-dump
yum-debug-restorednf debug-restore
yumdownloaderdnf download
yum-groups-manager
yum deplist
yumdb
package-cleanup –problemsdnf repoquery –unsatisfied
package-cleanup –dupesdnf repoquery –duplicated
package-cleanup –orphansdnf list extras
package-cleanup –oldkernels –count=1dnf remove $( dnf repoquery –installonly –latest-limit -1 -q )remove old kernels, keep one only
yum distro-syncdnf distro-sync
yum shell

🔗 Plugins

Yum PluginDNF PluginNotes
yum-langpacksdnf-langpacksAll lang* commands are available to use in dnf-langpacks now. But its still not 100% complete.
yum-plugin-aliases
yum-plugin-auto-update-debug-info
yum-plugin-changelog
yum-plugin-coprdnf-plugins-core
yum-plugin-fastestmirrordnfpart of standard dnf; could be disabled in config, see fastestmirror option in man dnf.conf
yum-plugin-filter-data
yum-plugin-fs-snapshotdnf-plugins-extras-snapper
yum-plugin-keys
yum-plugin-list-data
yum-plugin-localdnf-plugins-extras-local
yum-plugin-merge-confdnf-plugins-extras-rpmconfDNF plugin works via external tool ‘rpmconf’
yum-plugin-post-transaction-actions
yum-plugin-prioritiesdnfpart of standard dnf; see priority option in man dnf.conf
yum-plugin-protectbase
yum-plugin-psdnf-plugins-extras-tracer dnf-plugins-coreNot fully equal. tracer runs after transaction and have command to run manually. needs_restarting runs only after transaction.
yum-plugin-puppetverify
yum-plugin-refresh-updatesd
yum-plugin-remove-with-leavesdnf autoremove
yum-plugin-rpm-warm-cache
yum-plugin-show-leavesdnf leavesdnf-plugins-extras-leaves
yum-plugin-tmprepodnf –repofrompath <repo>,<path/url>Is documented in man dnf
yum-plugin-tsflags
yum-plugin-upgrade-helper
yum-plugin-verify
yum-plugin-versionlockdnf versionlockdnf-plugins-extras-versionlock

By anup

Leave a Reply

Your email address will not be published. Required fields are marked *