Jump to content

User:ScotXW/DNF (software)

From Wikipedia, the free encyclopedia
DNF
Original author(s)Red Hat
Initial releaseMay 1, 2013; 11 years ago (2013-05-01)
Stable release
0.5.5 / May 7, 2014; 10 years ago (2014-05-07)
Written inPython
Operating systemLinux
Available in[1]
Typepackage management system
LicenseGNU General Public License
Websitednf.baseurl.org

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]

hawkey

[edit]

librepo

[edit]

libcomps

[edit]

Adoption

[edit]

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

Press

[edit]

References

[edit]
  1. ^ "dnf translation files".
  2. ^ ConsoleKit office website