Open main menu

Wikipedia β

dnf or Dandified Packaging Tool 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]

Dandified Yum
DNF, installing updates on Fedora 22
DNF, installing updates on Fedora 22
Stable release
2.7.5 / October 18, 2017; 6 months ago (2017-10-18)[1]
Repository Edit this at Wikidata
Written in C, Python
Operating system Linux
Available in English
Type Package management system
License GPL v2
Website rpm-software-management.github.io

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]

DNF performs package management tasks on top of RPM, and supporting libraries.

DNF was originally written in Python, but efforts are under way to port it to C and move most functionality from Python code into the new libdnf library.[5] libdnf is already used by PackageKit, a Linux distribution-agnostic package system abstraction library, even though the library does not have most of DNF's features.[6]

Contents

AdoptionEdit

DNF has been the default package manager for Fedora since version 22 which was released in May 2015.[3] The libdnf library is used as a package backend in PackageKit.[6] DNF is also available as an alternate package manager for Mageia Linux since version 6. It may become the default sometime in the future.[7]

DependenciesEdit

libdnfEdit

  • High-level API for DNF and underlying libraries
  • C, license is LGPLv2+

libsolvEdit

  • A free package dependency solver using a satisfiability algorithm
  • For solving packages and reading repositories
  • C, New BSD License

librepoEdit

  • A library providing C and Python (libcURL like) API for downloading Linux repository metadata and packages
  • C, license is LGPLv2+

libcompsEdit

  • Libcomps is alternative for yum.comps library. It is written in pure C as library and there are bindings for python2 and python3.
  • C, license is GPLv2+

ReferencesEdit

  1. ^ "Releases · rpm-software-management/dnf · GitHub". GitHub DNF Repository. 2017-10-18. Retrieved 2017-10-28. 
  2. ^ Byfield, Bruce. "Will DNF Replace Yum?". Linux Magazine. Retrieved 2015-05-28. 
  3. ^ a b Andrew (2015-05-26). "Fedora 22 Released, See What`s New [Workstation]". WebUpd8. Retrieved 2015-05-28. 
  4. ^ a b Edge, Jake (2014-01-15). "DNF and Yum in Fedora". LWN.net. Retrieved 2015-03-29. 
  5. ^ Šilhan, Jan (2016-02-24). "DNF into C initiative started". DNF blog. Retrieved 2017-07-05. 
  6. ^ a b Aleksandersen, Daniel (2017-07-05). "Use DNF rather than PackageKit on Fedora". Ctrl blog. Retrieved 2017-08-07. 
  7. ^ Larabel, Michael (2016-09-05). "Mageia To Offer DNF, But Will Keep Using URPMI By Default". Phoronix. Retrieved 2017-12-04. 

External linksEdit