Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

DNF (software)

From Wikipedia, the free encyclopedia
Package manager for Red Hat systems
Dandified Yum
DNF5 running on Fedora 41
DeveloperFedora Project (Red Hat)
Initial release18 January 2012; 14 years ago (2012-01-18)[1]
Stable release
5.4.0.0[2] Edit this on Wikidata / 17 February 2026; 1 day ago (17 February 2026)
Written in
Operating systemLinux,IBM AIX
PlatformRPM
Available inEnglish
TypePackage management system
LicenseGPLv2+ &LGPLv2.1+ &New BSD License
Websiterpm-software-management.github.io Edit this on Wikidata
Repositoryhttps://github.com/rpm-software-management/dnf,[5]https://github.com/rpm-software-management/dnf5[6] Edit this on Wikidata

DNF (abbreviation forDandified YUM)[7][8][9] is apackage manager forRed Hat-basedLinuxdistributions and derivatives. DNF was introduced inFedora 18 in 2013 as a replacement foryum;[10] it has been the default package manager sinceFedora 22 in 2015[11] andRed Hat Enterprise Linux 8 in 2019[12] and is also an alternative package manager forMageia. DNF performs package management tasks on top ofRPM, and supporting libraries.

Usage

[edit]

The DNF package manager works similarly to other package managers.[13] Its core usage works very similarly to theApt Package Manager, such asinstall,remove, andupgrade.[14][13]

Usage for basic command is as follows:[13]

sudo dnf install <package_name>

sudo dnf remove <package_name>

sudo dnf upgrade

History

[edit]
[icon]
This sectionneeds expansion. You can help byadding missing information.(December 2024)

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

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

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.[20]

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 inPackageKit,[19] which offers a graphical user interface (GUI). Later, dnfdragora was developed for Fedora 27 as another alternative graphical front-end of DNF.[21][22] DNF has also been available as an alternate package manager forMageia Linux since version 6 and may become the default sometime in the future.[23]

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 onGitHub
  2. ^"5.4.0.0". 17 February 2026. Retrieved17 February 2026.
  3. ^abcd"The dnf Open Source Project on Open Hub: Languages Page".Open Hub. Retrieved2 May 2024.
  4. ^abcdefghi"The dnf5 Open Source Project on Open Hub: Languages Page".Open Hub. Retrieved2 May 2024.
  5. ^"GitHub - rpm-software-management/dnf: Package manager based on libdnf and libsolv. Replaces YUM".GitHub. Retrieved6 October 2016.
  6. ^"GitHub - rpm-software-management/dnf5: Next-generation RPM package management system".GitHub. Retrieved11 March 2023.
  7. ^"DNF".Fedora Project Wiki.Archived from the original on 2018-10-14. Retrieved2018-05-21.
  8. ^"What does DNF stand for".DNF User's FAQ.Archived from the original on 2018-10-14. Retrieved2018-05-21.
  9. ^README.rst · rpm-software-management/dnf onGitHub
  10. ^Byfield, Bruce."Will DNF Replace Yum?".Linux Magazine.Archived from the original on 2015-09-26. Retrieved2015-05-28.
  11. ^ab"Fedora 22 Released, See What's New [Workstation]". WebUpd8. 2015-05-26.Archived from the original on 2015-09-25. Retrieved2015-05-28.
  12. ^abMatteson, 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. Retrieved2019-09-24.
  13. ^abc"Dnf Package Manager - Documentation".docs.rockylinux.org. Retrieved2025-11-24.
  14. ^Djere, Rex (2025-10-23)."The Histories, Similarities and Differences of the APT and DNF GNU/Linux Package Managers".Djere.com. Retrieved2025-11-24.
  15. ^abEdge, Jake (2014-01-15)."DNF and Yum in Fedora".LWN.net.Archived from the original on 2015-09-30. Retrieved2015-03-29.
  16. ^Šilhan, Jan (2016-02-24)."DNF into C initiative started".DNF blog. Archived fromthe original on 2017-07-02. Retrieved2017-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. Retrieved8 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. Retrieved8 August 2023.
  19. ^abAleksandersen, Daniel (2017-07-05)."Use DNF rather than PackageKit on Fedora".Ctrl blog.Archived from the original on 2017-08-07. Retrieved2017-08-07.
  20. ^"Changes/ReplaceDnfWithDnf5".Archived from the original on 2023-11-12. Retrieved2023-11-12.
  21. ^"Changes/Replace yumex-dnf with dnfdragora - Fedora Project Wiki".fedoraproject.org.Archived from the original on 2021-09-27. Retrieved2021-09-27.
  22. ^"F27 Self Contained Change: Replace Yumex-DNF with dnfdragora - devel - Fedora Mailing-Lists".lists.fedoraproject.org.Archived from the original on 2021-09-27. Retrieved2021-09-27.
  23. ^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. Retrieved2017-12-04.

External links

[edit]
Major products
Services
Projects
Defunct
People
Mergers and acquisitions
Related
dpkg
RPM
Embedded systems
  • ipkg
Distribution-agnostic
Others (binary)
Others (source)
Front-ends
Related topics
Stub icon

Thisfree and open-source software article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=DNF_(software)&oldid=1339055961"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp