Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

DNF

dnf.readthedocs.io

  • Linux
  • API
  • Self-hosted

What the maker publishes

API stability
The documented Python API follows semantic versioning, and undocumented API elements may change between releases. source
Automation
DNF Automatic can check for updates and be configured to notify, download packages, or download and install them using systemd timers. source
Compatibility caveat
DNF and YUM can be installed side by side, but they do not share transaction data, which can limit decisions such as autoremove. source
Dependency resolution
Yes source
Deprecated feature
DNF documentation says modularity is deprecated and its functionality will be removed in a future DNF5 release. source
Developer API
DNF provides a Python API for plugins and applications that embed DNF to perform package management tasks. source
Install packages
The install command installs requested packages and their dependencies, and can also accept module or group specifications. source
Intended users
A documented use case is for system administrators to ensure an operating system has specified packages, files, providers, or groups. source
License
The GitHub repository identifies its license as GPL-2.0. source
License
Fedora's package page lists DNF's licenses as GPL-2.0-or-later AND GPL-1.0-only. source
Maintainers
Fedora's package page lists five maintainers: jmracek, dmach, jrohel, pkratoch, and mblaha. source
Offline installation
Yes source
Operational caveat
The FAQ says DNF and YUM do not share additional data about installed packages and transactions, which can limit how completely autoremove handles dependencies when both are used. source
Package formats
RPM packages; modulemd modules; comps groups and environments source
Package management
DNF lets users install packages from repositories or local RPM files, including packages selected by version, URL, group, or provided file path. source
Package queries
DNF can list installed, available, extra, obsolete, recent, and upgradeable packages. source
Package queries
DNF can list RPM packages filtered by whether they are installed, available, extra, obsolete, recent, or upgrades. source
Package removal
The remove command can uninstall specified packages and remove older versions of duplicated packages. source
Private registry auth
Yes source
Purpose
DNF is a package manager for RPM-based Linux distributions and replaces YUM. source
Purpose
DNF is described as the next-generation replacement for YUM. source
Python API
The Python API is intended for plugins that extend a system's DNF installation and applications that embed DNF for package management tasks. source
Reporting
DNF Automatic can report results through standard output, custom commands, email, or a message of the day file. source
Repositories
DNF uses enabled repositories to obtain package data and can cache their metadata. source

Checked against the maker's pages on 12 Oct 2026.