справочник команд DNF (DNF Command Reference)
Описание (Description)
DNF is the next upcoming major version of YUM, a package manager
for RPM-based Linux distributions. It roughly maintains CLI
compatibility with YUM and defines a strict API for extensions
and plugins.
Plugins can modify or extend features of DNF or provide
additional CLI commands on top of those mentioned below. If you
know the name of such a command (including commands mentioned
below), you may find/install the package which provides it using
the appropriate virtual provide in the form of
dnf-command(<alias>)
, where <alias>
is the name of the command;
e.g.``dnf install 'dnf-command(versionlock)'`` installs a
versionlock
plugin. This approach also applies to specifying
dependencies of packages that require a particular DNF command.
Return values:
• 0
: Operation was successful.
• 1
: An error occurred, which was handled by dnf.
• 3
: An unknown unhandled error occurred during operation.
• 100
: See check-update
• 200
: There was a problem with acquiring or releasing of locks.
Available commands:
• alias
• autoremove
• check
• check-update
• clean
• deplist
• distro-sync
• downgrade
• group
• help
• history
• info
• install
• list
• makecache
• mark
• module
• provides
• reinstall
• remove
• repoinfo
• repolist
• repoquery
• repository-packages
• search
• shell
• swap
• updateinfo
• upgrade
• upgrade-minimal
Additional information:
• Options
• Specifying Packages
• Specifying Provides
• Specifying Groups
• Specifying Transactions
• Metadata Synchronization
• Configuration Files Replacement Policy
• Files
• See Also