DNF (software)
DNF, installing updates on Fedora 22 | |
Stable release | 1.1.4 / November 24, 2015[1] |
---|---|
Written in | Python |
Operating system | Linux |
Available in | English |
Type | Package management system |
License | GPL v2 |
Website |
dnf |
DNF or Dandified Yum is the next generation version of the Yellowdog Updater, Modified (yum), a package manager for RPM-based distributions. DNF was introduced in Fedora 18[2] and it has been the default package manager for Fedora since version 22.[3] Perceived deficiencies of yum which DNF is intended to address include poor performance, high memory usage, and the slowness of its iterative dependency resolution.[4] DNF uses libsolv, an external dependency resolver.[4]
It does package management using RPM, libsolv and hawkey libraries. For metadata handling and package downloads it utilizes librepo. To process and effectively handle the comps data it uses libcomps.
There is another reason that Yum is being targeted for replacement: it uses its own, iterative dependency-resolution mechanism. More recent (and better performing) schemes for doing dependency resolution exist, and one, in the form of the satisfiability solving library libsolv, has been adopted by several other projects (including, of course, libsolv's origin: openSUSE's zypper package manager).
Documentation
Dependencies
libsolv
- https://github.com/openSUSE/libsolv
- a free package dependency solver using a satisfiability algorithm.
- for solving packages and reading repositories
- C, New BSD License
hawkey
- https://github.com/rpm-software-management/hawkey
- High-level API for the libsolv library
- This is hawkey, library providing simplified C and Python API to libsolv.
- C, license is LGPLv2+
librepo
- https://github.com/tojaj/librepo
- A library providing C and Python (libcURL like) API for downloading linux repository metadata and packages
- C, license is LGPLv2+
libcomps
- https://github.com/midnightercz/libcomps
- Libcomps is alternative for yum.comps library. It's written in pure C as library and there are bindings for python2 and python3
- C, license is GPLv2+
Adoption
DNF has been the default package manager for Fedora since the 22 version that was released in May 2015.[3]
Press
- DNF, which may or may not replace Yum 2012-06-27
- DNF and Yum in Fedora 2014-01-15
- Why write a new package manager anyway? 2014-01-16
- https://github.com/rpm-software-management/dnf
- http://www.linux-magazine.com/Online/Features/Will-DNF-Replace-Yum
- http://fedoraproject.org/wiki/Features/DNF
- http://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF Make it default in Fedora 22
- DNF: The New Package Manager Of Fedora 18 2012-06-22
- YUM Will Be Replaced With DNF On Fedora 22 And Later Versions 2014-06-18
References
- ↑ Šilhan, Jan (2015-11-24). "DNF 1.1.4 and DNF-PLUGINS-CORE 0.1.14 Released". DNF. Retrieved 2015-12-17.
- ↑ "Will DNF Replace Yum?". Retrieved 28 May 2015.
- 1 2 "Fedora 22 Released, See What`s New [Workstation]". Retrieved 28 May 2015.
- 1 2 Edge, Jake (2014-01-15). "DNF and Yum in Fedora". LWN.net. Retrieved 2015-03-29.
External links
- Official website
- – Fedora Maintenance Commands Manual
- DNF on GitHub