8 Comparing Yum Version 3 With DNF
The following table compares Yum v3 features, commands, and options with the DNF tool that's introduced in Oracle Linux 8.
Yum v3 Feature, Command, or Option | DNF Feature, Command, or Option | Notable Differences |
---|---|---|
|
Is an alias for the |
When used for installations: Skips all packages (or those with broken dependencies that are passed to DNF) without raising an error or causing the operation to fail.
You can use either option with DNF. You can also set this
behavior as the default in the When used for upgrades: The semantics that were used to trigger the
|
|
|
Command syntax change only. No differences with the
behavior for |
|
|
Aside from the syntactical difference, the behavior of |
|
|
This option is enabled by default in DNF, which might
cause confusion when comparing the
|
|
Not available Use the |
The Yum v3 command is maintained for legacy purposes only. |
|
Not available Use the |
The |
Excludes (and repository excludes) |
Excludes (and repository excludes) |
Yum v3 respects excludes during installations and upgrades; whereas, DNF respects all operations, including erasing, and listing. |
|
|
In DNF, the directive name for repository (and main)
configuration has been renamed for better alignment with
its DNF counterpart, |
|
|
This option is enabled by default in DNF.
Without this setting, and without explicitly setting
|
|
Not available |
This configuration option has been removed in DNF. Instead, when DNF identifies several groups with the same group ID, it merges the contents of the groups. |
|
Not available |
DNF uses |
"metalink" mention in the |
Not available |
A fix has been applied in DNF to render the following
information in the If the |
|
Not available |
This option has been removed from DNF to simplify configuration. |
|
Not available |
This option has been removed from DNF to simplify configuration. |
|
Behaves as though disabled. |
Because DNF tolerates the use of other package managers, it's possible that not
all changes that are made to RPMDB are stored in the history of transactions. Thus,
DNF doesn't fail in this situation, which means the |
|
This command performs a remove and install transaction.
|
Using the |
Dependency processing details displayed during the depsolving phase. |
Not available |
In DNF, the |
|
|
The behavior of the |
|
Not available |
This option isn't documented for DNF, as all plugins are enabled by default. |
|
|
In DNF, for simultaneous downloads, the total downloading speed is now throttled. This support wasn't available in the Yum v3 tool, as downloaders ran in different processes. |
|
|
DNF appends the list values from the
|
|
Not available |
The Boolean |
|
|
DNF stops early with an error if a command requesting an installing operation on a
local |
Promoting a package to install to a package that obsoletes it. |
Promoting a package to install to a package that obsoletes it. |
DNF doesn't automatically replace a request to install a package
( |
|
|
DNF provides more predictable behavior for this option and handles the path
differently than the |
Prompts displayed after a transaction table |
Prompts displayed after a transaction table |
The prompts that are displayed after a transaction table are different in DNF than
they're for Yum v3. DNF doesn't provide download functionality after displaying the
transaction table. You're only prompted to continue with the transaction or not. To
download packages, use the |
|
|
The DNF behavior for this command is to list all packages from all repositories, which means there can be duplicate package names with different repository names listed. This change was made to enable users to choose a preferred repository. |
There isn't a direct replacement for the yum-updateonboot
command in
DNF. However, you can obtain a similar result by running the
dnfautomatic
command.
The following table compares Yum V3 plugins with DNF plugins.
Yum Version 3 Plugin | DNF Plugin | Package |
---|---|---|
|
|
|
|
|
|
|
Option in |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table compares Yum v3 utilities with DNF plugins.
Yum Version 3 Utility | DNF Plugin | DNF Package |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table lists the Yum v3
package-cleanup
command and its DNF replacement.
Yum Version 3 Command | DNF Command |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|