You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️Notice: This repository is for DNF4 only. The current DNF version (DNF5) has its own repo.
Dandified YUM 4
Dandified YUM 4 (DNF) is the 4th iteration of next upcoming major version of 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.
Join us on IRC at #dnf on Libera.Chat. Questions should be asked there, issues discussed. Remember: #dnf is not a support channel, and prior research is expected from the questioner.
Installing
DNF4 and all its dependencies are available in Fedora 18 and later, including the
rawhide Fedora.
Optionally you can use repositories with DNF nightly builds for last 2 stable Fedora versions available at copr://rpmsoftwaremanagement/dnf-nightly. You can enable the repository e.g. using:
dnf copr enable rpmsoftwaremanagement/dnf-nightly
Then install DNF typing:
sudo yum install dnf4
In other RPM-based distributions you need to build all the components from their
sources.
Building from source
All commands should be run from the DNF git checkout directory.
Here's the most direct way to get your work merged into the project.
Fork the project
Clone down your fork
Implement your feature or bug fix and commit changes
If the change fixes a bug at Red Hat bugzilla, or if it is important to the end user, add the following block to the commit message:
= changelog =
msg: message to be included in the changelog
type: one of: bugfix/enhancement/security (this field is required when message is present)
resolves: URLs to bugs or issues resolved by this commit (can be specified multiple times)
related: URLs to any related bugs or issues (can be specified multiple times)
For your convenience, you can also use git commit template by running the following command in the top-level directory of this project:
git config commit.template ./.git-commit-template
In special commit add your name and email under DNF CONTRIBUTORS section in authors file as a reward for your generosity
Push the branch up to your fork
Send a pull request for your branch
Please, do not create the pull requests with translation (.po) files improvements. Fix the translation on Fedora Weblate instead.
Documentation
The DNF package distribution contains man pages, dnf(8) and dnf.conf(8). It is also possible to read the DNF documentation online, the page includes API documentation. There's also a wiki meant for contributors to DNF and related projects.