User:ScotXW/DNF (software)

DNF (Dandified Yum) is the new package management system to replace yum. 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

 * http://akozumpl.github.io/dnf/
 * https://github.com/akozumpl/dnf/wiki

Systemd obsoletes ConsoleKit and provides a replacement for sysvinit, initscripts, pm-utils, inetd, acpid, syslog, watchdog, cgrulesd, cron, atd.



See the http://www.freedesktop.org/wiki/Software/systemd/InterfacePortabilityAndStabilityChart/

Changes in DNF CLI compared to Yum

 * http://akozumpl.github.io/dnf/cli_vs_yum.html

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/akozumpl/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's bindings for python2 and python3
 * C, license is GPLv2+

Adoption
dnf has been available since Fedora 18 (from 2013-01-15).

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/akozumpl/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
 * June 18, 2014 YUM Will Be Replaced With DNF On Fedora 22 And Later Versions