Jump to content
Wikipedia The Free Encyclopedia

DNF (software)

From Wikipedia, the free encyclopedia
(Redirected from Dnfdragora)
Package manager for Red Hat systems
Dandified Yum
DNF5 running on Fedora 41
Developer(s) Red Hat
Initial release18 January 2012; 13 years ago (2012年01月18日)[1]
Stable release
5.2.10.0[2]  Edit this on Wikidata / 6 February 2025; 14 days ago (6 February 2025)
Repository https://github.com/rpm-software-management/dnf,[3] https://github.com/rpm-software-management/dnf5 [4]  Edit this on Wikidata
Written in
Operating system Linux, IBM AIX
Platform RPM
Available inEnglish
Type Package management system
License GPLv2+ & LGPLv2.1+ & New BSD License
Websiterpm-software-management.github.io

DNF (abbreviation for Dandified YUM)[7] [8] [9] is a package manager for Red Hat-based Linux distributions and derivatives. DNF was introduced in Fedora 18 in 2013 as a replacement for yum;[10] it has been the default package manager since Fedora 22 in 2015[11] and Red Hat Enterprise Linux 8 [when? ][12] and is also an alternative package manager for Mageia. DNF performs package management tasks on top of RPM, and supporting libraries.

History

[edit ]
[icon]
This section needs expansion. You can help by adding to it. (December 2024)

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

DNF was originally written in Python, but as of 2016[update] , efforts were under way to port it to C and move most functionality from Python code into the new libdnf library[needs update ].[14] In 2018, the DNF team announced the decision to move libdnf from C to C++.[15] [16] libdnf is already used by PackageKit, a Linux distribution-agnostic package system abstraction library, even though the library doesn't have most of DNF's features.[17]

Since the launch of Fedora Linux 41, DNF5 is the new default packaging tool. This release features new performance enhancements, updated terminal output, and fully integrated modularity.[18]

Adoption

[edit ]

DNF has been the default command-line package manager for Fedora since version 22, which was released in May 2015.[11] The libdnf library is used as a package backend in PackageKit,[17] which offers a graphical user interface (GUI). Later, dnfdragora was developed for Fedora 27 as another alternative graphical front-end of DNF.[19] [20] DNF has also been available as an alternate package manager for Mageia Linux since version 6 and may become the default sometime in the future.[21]

In Red Hat Enterprise Linux, and by extension, AlmaLinux and Rocky Linux, yum is an alias for dnf.[12]

References

[edit ]
  1. ^ 0.6.4-1 for rpm-software-management/dnf dnf on GitHub
  2. ^ "5.2.10.0". 6 February 2025. Retrieved 8 February 2025.
  3. ^ "GitHub - rpm-software-management/dnf: Package manager based on libdnf and libsolv. Replaces YUM". GitHub. Retrieved 6 October 2016.
  4. ^ "GitHub - rpm-software-management/dnf5: Next-generation RPM package management system". GitHub. Retrieved 11 March 2023.
  5. ^ a b c d "The dnf Open Source Project on Open Hub: Languages Page". Open Hub. Retrieved 2 May 2024.
  6. ^ 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.
  7. ^ "DNF". Fedora Project Wiki. Archived from the original on 2018年10月14日. Retrieved 2018年05月21日.
  8. ^ "What does DNF stand for". DNF User's FAQ. Archived from the original on 2018年10月14日. Retrieved 2018年05月21日.
  9. ^ README.rst · rpm-software-management/dnf on GitHub
  10. ^ Byfield, Bruce. "Will DNF Replace Yum?". Linux Magazine . Archived from the original on 2015年09月26日. Retrieved 2015年05月28日.
  11. ^ a b "Fedora 22 Released, See What's New [Workstation]". WebUpd8. 2015年05月26日. Archived from the original on 2015年09月25日. Retrieved 2015年05月28日.
  12. ^ a b 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日.
  13. ^ 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日.
  14. ^ Šilhan, Jan (2016年02月24日). "DNF into C initiative started". DNF blog. Archived from the original on 2017年07月02日. Retrieved 2017年07月05日.
  15. ^ 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.
  16. ^ 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.
  17. ^ a b 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日.
  18. ^ "Changes/ReplaceDnfWithDnf5". Archived from the original on 2023年11月12日. Retrieved 2023年11月12日.
  19. ^ "Changes/Replace yumex-dnf with dnfdragora - Fedora Project Wiki". fedoraproject.org. Archived from the original on 2021年09月27日. Retrieved 2021年09月27日.
  20. ^ "F27 Self Contained Change: Replace Yumex-DNF with dnfdragora - devel - Fedora Mailing-Lists". lists.fedoraproject.org. Archived from the original on 2021年09月27日. Retrieved 2021年09月27日.
  21. ^ Larabel, Michael (2016年09月05日). "Mageia To Offer DNF, But Will Keep Using URPMI By Default". Phoronix. Archived from the original on 2017年12月06日. Retrieved 2017年12月04日.
[edit ]
Wikimedia Commons has media related to Category:DNF .


Stub icon

This free and open-source software article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /