User:ScotXW/DNF (software)
Original author(s) | Red Hat |
---|---|
Initial release | May 1, 2013 |
Stable release | 0.5.5
/ May 7, 2014 |
Written in | Python |
Operating system | Linux |
Available in | [1] |
Type | package management system |
License | GNU General Public License |
Website | dnf |
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
[edit]Systemd obsoletes ConsoleKit[2] and provides a replacement for sysvinit, initscripts, pm-utils, inetd, acpid, syslog, watchdog, cgrulesd, cron, atd.
sysvinit | systemd |
---|---|
/etc/init.d/nginx start |
systemctl start nginx.service
|
/etc/init.d/nginx stop |
systemctl stop nginx.service
|
/etc/init.d/nginx reload |
none, uses stop+start instead |
/etc/init.d/nginx restart |
none, uses stop+start instead |
systemctl status nginx.service
journalctl -xn
See the http://www.freedesktop.org/wiki/Software/systemd/InterfacePortabilityAndStabilityChart/
Changes in DNF CLI compared to Yum
[edit]Dependencies
[edit]libsolv
[edit]- 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
[edit]- 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
[edit]- 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
[edit]- 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
[edit]dnf has been available since Fedora 18 (from 2013-01-15).
Press
[edit]- 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