From Fedora Project Wiki

mNo edit summary
 
(21 intermediate revisions by 9 users not shown)
Line 3: Line 3:
== CLI ==
== CLI ==


[http://rpm-software-management.github.io/dnf/cli_vs_yum.html Changes in DNF CLI compared to Yum]
[http://dnf.readthedocs.org/en/latest/cli_vs_yum.html Changes in DNF CLI compared to Yum]


[http://rpm-software-management.github.io/dnf/user_faq.html DNF User's FAQ]
[http://dnf.readthedocs.org/en/latest/user_faq.html DNF User's FAQ]


== Yum Utils ==
== Yum Utils ==


All tools in DNF added by plugins ([http://rpm-software-management.github.io/dnf-plugins-core/index.html core], [http://rpm-software-management.github.io/dnf-plugins-extras/index.html extras])
All tools in DNF added by plugins ([http://dnf-plugins-core.readthedocs.org/en/latest/ core], [http://dnf-plugins-extras.readthedocs.org/en/latest/ extras])


{|border="1" cellspacing="0"  
{|border="1" cellspacing="0"  
!Yum Tool!!DNF Tool!!Notes
!Yum Tool!!DNF Tool!!Notes
|-
|-
| debuginfo-install || [http://rpm-software-management.github.io/dnf-plugins-core/debuginfo-install.html dnf debuginfo-install] ||  
| debuginfo-install || [http://dnf-plugins-core.readthedocs.org/en/latest/debuginfo-install.html dnf debuginfo-install] ||  
|-
|-
| find-repos-of-install || {{result|warn}} || Use `dnf list installed pkg` instead
| find-repos-of-install || {{result|warn}} || Use `dnf list installed pkg` instead
|-
|-
| || [http://rpm-software-management.github.io/dnf-plugins-core/kickstart.html dnf kickstart] ||  
| || [https://dnf-plugins-extras.readthedocs.io/en/latest/kickstart.html dnf kickstart] ||  
|-
|-
| needs-restarting || [http://rpm-software-management.github.io/dnf-plugins-extras/tracer.html dnf tracer] ||  
| needs-restarting || [https://dnf-plugins-core.readthedocs.io/en/latest/needs_restarting.html dnf needs-restarting] ||  
|-
|-
| package-cleanup || || PR: https://github.com/rpm-software-management/dnf/pull/224
| package-cleanup || -- || covered by `dnf list` and `dnf repoclosure`; see `man yum2dnf` for details
|-
|-
| repoclosure || [http://rpm-software-management.github.io/dnf-plugins-extras/repoclosure.html dnf repoclosure] ||  
| repoclosure || [https://dnf-plugins-core.readthedocs.io/en/latest/repoclosure.html dnf repoclosure] ||  
|-
|-
| repodiff || {{result|fail}} || {{bz|1066867}}
| repodiff || [https://dnf-plugins-core.readthedocs.io/en/latest/repodiff.html dnf repodiff] ||
|-
|-
| repo-graph || [http://rpm-software-management.github.io/dnf-plugins-extras/repograph.html dnf repograph] ||  
| repo-graph || [https://dnf-plugins-core.readthedocs.io/en/latest/repograph.html dnf repograph] ||  
|-
|-
| repomanage || [http://rpm-software-management.github.io/dnf-plugins-extras/repomanage.html dnf repomanage] ||  
| repomanage || [https://dnf-plugins-core.readthedocs.io/en/latest/repomanage.html dnf repomanage] ||  
|-
|-
| repoquery || [http://rpm-software-management.github.io/dnf-plugins-core/repoquery.html dnf repoquery] ||  
| repoquery || [https://dnf.readthedocs.io/en/latest/command_ref.html#repoquery-command-label dnf repoquery] ||  
|-
|-
| repo-rss || {{result|fail}} || {{bz|1066867}}
| repo-rss || {{result|fail}} || {{bz|1066867}}
|-
|-
| reposync || [http://rpm-software-management.github.io/dnf-plugins-core/reposync.html dnf reposync] ||  
| reposync || [http://dnf-plugins-core.readthedocs.org/en/latest/reposync.html dnf reposync] ||  
|-
|-
| repotrack || [http://rpm-software-management.github.io/dnf-plugins-core/download.html dnf download] ||  
| repotrack || [http://dnf-plugins-core.readthedocs.org/en/latest/download.html dnf download] ||  
|-
|-
| show-changed-rco || ||  
| show-changed-rco || --- || Rarely used so we dropped it for now. Feel free to [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf-plugins-extras&version=rawhide file RFE] for missing functionality if you need it.
|-
|-
| show-installed || ||  
| show-installed || --- || {{bz|1266780}}
|-
|-
| verifytree || ||  
| verifytree || --- || Rarely used so we dropped it for now. Feel free to [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf-plugins-extras&version=rawhide file RFE] for missing functionality if you need it.
|-
|-
| yum-builddep || [http://rpm-software-management.github.io/dnf-plugins-core/builddep.html dnf builddep] ||  
| yum-builddep || [http://dnf-plugins-core.readthedocs.org/en/latest/builddep.html dnf builddep] ||  
|-
|-
| yum-config-manager || || PR: https://github.com/rpm-software-management/dnf-plugins-core/pull/65
| yum-config-manager || [http://dnf-plugins-core.readthedocs.org/en/latest/config_manager.html dnf config-manager]||
|-
|-
| yum-debug-dump || || PR: https://github.com/rpm-software-management/dnf-plugins-extras/pull/7
| yum-debug-dump || [https://dnf-plugins-core.readthedocs.io/en/latest/debug.html dnf debug-dump] ||
|-
|-
| yum-debug-restore || || PR: https://github.com/rpm-software-management/dnf-plugins-extras/pull/7
| yum-debug-restore || [https://dnf-plugins-core.readthedocs.io/en/latest/debug.html dnf debug-restore] ||
|-
|-
| yumdownloader || [http://rpm-software-management.github.io/dnf-plugins-core/download.html dnf download] ||  
| yumdownloader || [http://dnf-plugins-core.readthedocs.org/en/latest/download.html dnf download] ||  
|-
|-
| yum-groups-manager || ||  
| yum-groups-manager || [https://dnf-plugins-core.readthedocs.io/en/latest/groups-manager.html dnf groups-manager] ||
|-
| yum deplist || [https://dnf.readthedocs.io/en/latest/command_ref.html#deplist-option-label dnf repoquery --deplist] ||
|-
| yumdb || --- ||
|-
| package-cleanup --problems || dnf repoquery --unsatisfied ||
|-
| package-cleanup --dupes || dnf repoquery --duplicated ||
|-
| package-cleanup --orphans || dnf list extras ||
|-
| package-cleanup --oldkernels --count=1 || dnf remove $( dnf repoquery --installonly --latest-limit -1 -q ) || remove old kernels, keep one only
|-
| yum distro-sync || dnf distro-sync ||
|-
| yum shell || --- ||  
|-
|-
|}
|}
Line 73: Line 89:
| yum-plugin-changelog || {{result|fail}} || {{bz|1066867}}
| yum-plugin-changelog || {{result|fail}} || {{bz|1066867}}
|-
|-
| yum-plugin-copr || [http://rpm-software-management.github.io/dnf-plugins-core/copr.html dnf-plugins-core] ||  
| yum-plugin-copr || [https://dnf-plugins-core.readthedocs.io/en/latest/copr.html dnf-plugins-core] ||  
|-
|-
| yum-plugin-fastestmirror || ||  
| yum-plugin-fastestmirror || dnf || part of standard dnf; could be disabled in config, see <code>fastestmirror</code> option in man dnf.conf
|-
|-
| yum-plugin-filter-data || ||  
| yum-plugin-filter-data || ||  
|-
|-
| yum-plugin-fs-snapshot || [http://rpm-software-management.github.io/dnf-plugins-extras/snapper.html dnf-plugins-extras-snapper] ||  
| yum-plugin-fs-snapshot || [https://dnf-plugins-extras.readthedocs.io/en/latest/snapper.html dnf-plugins-extras-snapper] ||  
|-
|-
| yum-plugin-keys || ||  
| yum-plugin-keys || ||  
Line 85: Line 101:
| yum-plugin-list-data || ||  
| yum-plugin-list-data || ||  
|-
|-
| yum-plugin-local || [http://rpm-software-management.github.io/dnf-plugins-extras/local.html dnf-plugins-extras-local] ||  
| yum-plugin-local || [https://dnf-plugins-core.readthedocs.io/en/latest/local.html dnf-plugins-extras-local] ||  
|-
|-
| yum-plugin-merge-conf || [http://rpm-software-management.github.io/dnf-plugins-extras/rpmconf.html dnf-plugins-extras-rpmconf] || DNF plugin works via external tool 'rpmconf'
| yum-plugin-merge-conf || [https://dnf-plugins-extras.readthedocs.io/en/latest/rpmconf.html dnf-plugins-extras-rpmconf] || DNF plugin works via external tool 'rpmconf'
|-
|-
| yum-plugin-post-transaction-actions || ||  
| yum-plugin-post-transaction-actions || ||  
|-
|-
| yum-plugin-priorities || ||  
| yum-plugin-priorities || dnf || part of standard dnf; see <code>priority</code> option in man <code>dnf.conf</code>
|-
|-
| yum-plugin-protectbase || ||  
| yum-plugin-protectbase || ||  
|-
|-
| yum-plugin-ps || [http://rpm-software-management.github.io/dnf-plugins-extras/tracer.html dnf-plugins-extras-tracer] [http://rpm-software-management.github.io/dnf-plugins-core/needs_restarting.html dnf-plugins-core]|| Not fully equal. tracer runs after transaction and have command to run manually. needs_restarting runs only after transaction.
| yum-plugin-ps || [https://dnf-plugins-extras.readthedocs.io/en/latest/tracer.html dnf-plugins-extras-tracer] [https://dnf-plugins-core.readthedocs.io/en/latest/needs_restarting.html dnf-plugins-core]|| Not fully equal. tracer runs after transaction and have command to run manually. needs_restarting runs only after transaction.
|-
|-
| yum-plugin-puppetverify || ||  
| yum-plugin-puppetverify || ||  
Line 101: Line 117:
| yum-plugin-refresh-updatesd || ||  
| yum-plugin-refresh-updatesd || ||  
|-
|-
| yum-plugin-remove-with-leaves || ||  
| yum-plugin-remove-with-leaves || dnf autoremove ||  
|-
|-
| yum-plugin-rpm-warm-cache || ||  
| yum-plugin-rpm-warm-cache || ||  
|-
|-
| yum-plugin-show-leaves || ||  
| yum-plugin-show-leaves || dnf leaves || [https://dnf-plugins-core.readthedocs.io/en/latest/leaves.html dnf-plugins-extras-leaves]
|-
|-
| yum-plugin-tmprepo || ||  
| yum-plugin-tmprepo || dnf --repofrompath <repo>,<path/url> || Is documented in man dnf
|-
|-
| yum-plugin-tsflags || ||  
| yum-plugin-tsflags || ||  
Line 115: Line 131:
| yum-plugin-verify || ||  
| yum-plugin-verify || ||  
|-
|-
| yum-plugin-versionlock || ||  
| yum-plugin-versionlock || dnf versionlock || [https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html]
|-
|-
|}
|}

Latest revision as of 20:55, 9 December 2021

CLI

Changes in DNF CLI compared to Yum

DNF User's FAQ

Yum Utils

All tools in DNF added by plugins (core, extras)

Yum Tool DNF Tool Notes
debuginfo-install dnf debuginfo-install
find-repos-of-install
Warning warn
Use dnf list installed pkg instead
dnf kickstart
needs-restarting dnf needs-restarting
package-cleanup -- covered by dnf list and dnf repoclosure; see man yum2dnf for details
repoclosure dnf repoclosure
repodiff dnf repodiff
repo-graph dnf repograph
repomanage dnf repomanage
repoquery dnf repoquery
repo-rss
Fail fail
RHBZ #1066867
reposync dnf reposync
repotrack dnf download
show-changed-rco --- Rarely used so we dropped it for now. Feel free to file RFE for missing functionality if you need it.
show-installed --- RHBZ #1266780
verifytree --- Rarely used so we dropped it for now. Feel free to file RFE for missing functionality if you need it.
yum-builddep dnf builddep
yum-config-manager dnf config-manager
yum-debug-dump dnf debug-dump
yum-debug-restore dnf debug-restore
yumdownloader dnf download
yum-groups-manager dnf groups-manager
yum deplist dnf repoquery --deplist
yumdb ---
package-cleanup --problems dnf repoquery --unsatisfied
package-cleanup --dupes dnf repoquery --duplicated
package-cleanup --orphans dnf list extras
package-cleanup --oldkernels --count=1 dnf remove $( dnf repoquery --installonly --latest-limit -1 -q ) remove old kernels, keep one only
yum distro-sync dnf distro-sync
yum shell ---

Plugins

Yum Plugin DNF Plugin Notes
yum-langpacks dnf-langpacks All 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
Fail fail
RHBZ #1066867
yum-plugin-copr dnf-plugins-core
yum-plugin-fastestmirror dnf part of standard dnf; could be disabled in config, see fastestmirror option in man dnf.conf
yum-plugin-filter-data
yum-plugin-fs-snapshot dnf-plugins-extras-snapper
yum-plugin-keys
yum-plugin-list-data
yum-plugin-local dnf-plugins-extras-local
yum-plugin-merge-conf dnf-plugins-extras-rpmconf DNF plugin works via external tool 'rpmconf'
yum-plugin-post-transaction-actions
yum-plugin-priorities dnf part of standard dnf; see priority option in man dnf.conf
yum-plugin-protectbase
yum-plugin-ps dnf-plugins-extras-tracer dnf-plugins-core Not 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-leaves dnf autoremove
yum-plugin-rpm-warm-cache
yum-plugin-show-leaves dnf leaves dnf-plugins-extras-leaves
yum-plugin-tmprepo dnf --repofrompath <repo>,<path/url> Is documented in man dnf
yum-plugin-tsflags
yum-plugin-upgrade-helper
yum-plugin-verify
yum-plugin-versionlock dnf versionlock [1]