Dandified Yum (DNF) is the 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.
DNF 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 dnf
In other RPM-based distributions you need to build all the components from their sources.
From the DNF git checkout directory:
mkdir build; pushd build; cmake .. && make; popd;
Then to run DNF:
PYTHONPATH=`readlink -f .` bin/dnf <arguments>
From the DNF git checkout directory:
cmake . ./package/build-test-rpm sudo rpm -i ~/rpmbuild/RPMS/noarch/dnf-<version>-<release>.noarch.rpm
From the DNF git checkout directory:
mkdir build; pushd build; cmake .. && make ARGS="-V" test; popd;
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 you reported a bug or you know it fixes existing bug at Red Hat bugzilla, append
(RhBug:<bug_id>)
to your commit message - 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
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.
Please report discovered bugs to the Red Hat bugzilla following this guide. If you planned to propose the patch in the report, consider Contribution instead.
Freenode's irc channel #yum
is meant for discussions related to both Yum and DNF. Questions should be asked there, issues discussed. Remember: #yum
is not a support channel and prior research is expected from the questioner.