DNF (software)

Dandified Yum
Developer(s)Red Hat
Initial release18 January 2012 (2012-01-18)[1]
Stable release
4.20.0,[2] 5.2.2.0[3] Edit this on Wikidata / 24 April 2024 (24 April 2024) 28 May 2024 (28 May 2024)
Repositoryhttps://github.com/rpm-software-management/dnf,[4] https://github.com/rpm-software-management/dnf5[5] Edit this on Wikidata
Written in
Operating systemLinux, IBM AIX
PlatformRPM
Available inEnglish
TypePackage management system
LicenseGPLv2+ & LGPLv2.1+ & New BSD License
Websiterpm-software-management.github.io

DNF or Dandified YUM[8][9][10] is the next-generation version of the Yellowdog Updater, Modified (yum), a package manager for .rpm-based Linux distributions. DNF was introduced in Fedora 18 in 2013;[11] it has been the default package manager since Fedora 22 in 2015,[12] Red Hat Enterprise Linux 8,[13] and OpenMandriva,[14] and is also an alternative package manager for Mageia.

Perceived deficiencies of yum (which DNF is intended to address) include poor performance, high memory usage, and the slowness of its iterative dependency resolution.[15] DNF uses libsolv, an external dependency resolver.[15]

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

DNF was originally written in Python, but as of 2016 efforts were under way to port it to C and move most functionality from Python code into the new libdnf library.[16] In 2018, the DNF team announced the decision to move libdnf from C to C++.[17][18] 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.[19]

Meanwhile, DNF5 is gearing up for an official launch in Fedora Linux 41. This versatile C++ package manager for RPM packages, modules, and comps groups uses libdnf and libsolv, supports Python 3, and is accessible in Fedora 38+.[20]

  1. ^ 0.6.4-1 for rpm-software-management/dnf dnf on GitHub
  2. ^ "4.20.0". 24 April 2024. Retrieved 25 April 2024.
  3. ^ "Release 5.2.2.0". GitHub. 28 May 2024. Retrieved 30 May 2024.
  4. ^ "GitHub - rpm-software-management/dnf: Package manager based on libdnf and libsolv. Replaces YUM". GitHub. Retrieved 6 October 2016.
  5. ^ "GitHub - rpm-software-management/dnf5: Next-generation RPM package management system". GitHub. Retrieved 11 March 2023.
  6. ^ a b c d "The dnf Open Source Project on Open Hub: Languages Page". Open Hub. Retrieved 2 May 2024.
  7. ^ a b c d e f g h i "The dnf5 Open Source Project on Open Hub: Languages Page". Open Hub. Retrieved 2 May 2024.
  8. ^ "DNF". Fedora Project Wiki. Archived from the original on 2018-10-14. Retrieved 2018-05-21.
  9. ^ "What does DNF stand for". DNF User's FAQ. Archived from the original on 2018-10-14. Retrieved 2018-05-21.
  10. ^ README.rst · rpm-software-management/dnf on GitHub
  11. ^ Byfield, Bruce. "Will DNF Replace Yum?". Linux Magazine. Archived from the original on 2015-09-26. Retrieved 2015-05-28.
  12. ^ "Fedora 22 Released, See What's New [Workstation]". WebUpd8. 2015-05-26. Archived from the original on 2015-09-25. Retrieved 2015-05-28.
  13. ^ Matteson, Scott (2019-03-30). "What's new with Red Hat Enterprise Linux 8 and Red Hat Virtualization". TechRepublic. Archived from the original on 2019-09-24. Retrieved 2019-09-24.
  14. ^ "Switching to RPMv4". OpenMandriva. 2018-03-07. Archived from the original on 2022-06-26. Retrieved 2022-04-15.
  15. ^ a b Edge, Jake (2014-01-15). "DNF and Yum in Fedora". LWN.net. Archived from the original on 2015-09-30. Retrieved 2015-03-29.
  16. ^ Šilhan, Jan (2016-02-24). "DNF into C initiative started". DNF blog. Archived from the original on 2017-07-02. Retrieved 2017-07-05.
  17. ^ Mach, Daniel; Mracek, Jaroslav (22 March 2018). "Announcing DNF 3 development". DNF: A Blog of The DNF Team. Archived from the original on September 18, 2018. Retrieved 8 August 2023.
  18. ^ Edge, Jake (28 March 2018). "DNF 3: better performance and a move to C++". LWN.net. Archived from the original on October 14, 2018. Retrieved 8 August 2023.
  19. ^ Aleksandersen, Daniel (2017-07-05). "Use DNF rather than PackageKit on Fedora". Ctrl blog. Archived from the original on 2017-08-07. Retrieved 2017-08-07.
  20. ^ "Changes/ReplaceDnfWithDnf5". Archived from the original on 2023-11-12. Retrieved 2023-11-12.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Tubidy