No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
DNF is a software package manager that installs, updates, and removes [[package]]s on [[RPM]]-based Linux distributions. It automatically computes dependencies and figures out what things should occur to install packages. DNF makes it easier to maintain groups of machines without having to manually update each one using [[rpm]]. | DNF is a software package manager that installs, updates, and removes [[package]]s on [[RPM]]-based Linux distributions. It automatically computes dependencies and figures out what things should occur to install packages. DNF makes it easier to maintain groups of machines without having to manually update each one using [[rpm]]. | ||
DNF is the next upcoming major version of Yum. It roughly maintains CLI compatibility with Yum and defines 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 bellow), 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-command(repoquery) for a repoquery command (the same applies to specifying dependencies of packages that require a particular command). | DNF is the next upcoming major version of Yum. It roughly maintains command-line interface (CLI) compatibility with Yum and defines 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 bellow), 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-command(repoquery) for a repoquery command (the same applies to specifying dependencies of packages that require a particular command). | ||
{{Infobox package | {{Infobox package |
Revision as of 07:33, 29 September 2015
DNF is a software package manager that installs, updates, and removes packages on RPM-based Linux distributions. It automatically computes dependencies and figures out what things should occur to install packages. DNF makes it easier to maintain groups of machines without having to manually update each one using rpm.
DNF is the next upcoming major version of Yum. It roughly maintains command-line interface (CLI) compatibility with Yum and defines 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 bellow), 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-command(repoquery) for a repoquery command (the same applies to specifying dependencies of packages that require a particular command).
DNF | |
RPM package | dnf
|
Added in | Fedora 18, 19 20, 21 |
Website | http://dnf.baseurl.org/ |
Bugs • Bodhi • Koji |
Available commands
autoremove check-update clean distro-sync downgrade group help history info install list makecache mark provides reinstall remove repolist repository-packages search updateinfo upgrade upgrade-to
Installation
dnf comes with Fedora since version 18, but dnf can installed by using the YUM Command:
# yum install dnf
As of Fedora 22, yum has been replaced with Dnf and doesn't need to be install.
Usage
In the basic methods, dnf can be used almost exactly as YUM:
# sudo dnf search audacity
# sudo dnf install audacity.x86_64
# sudo dnf remove audacity
Documentation
https://github.com/rpm-software-management/dnf/wiki lists two documentation links