Go to file
Michal Luscon 9033230d4e Automatic commit of package [dnf] minor release [0.6.4-6]. 2015-08-26 15:27:13 +02:00
.tx added transifex support to cmake (gettext-export, gettext-update) 2014-03-04 12:55:09 +01:00
bin packaging: add dnf-automatic subpackage. 2014-08-11 14:30:19 +02:00
dnf do not use releasever in cache path (related to RhBug:1173107) 2015-08-26 13:14:57 +02:00
doc setup tito to bump version in VERSION.cmake 2015-04-10 14:52:12 +02:00
etc Revert "completion: work with just python(3)-dnf" 2015-04-16 09:57:48 +02:00
po transifex update 2015-04-10 14:38:27 +02:00
rel-eng Automatic commit of package [dnf] minor release [0.6.4-6]. 2015-08-26 15:27:13 +02:00
scripts base: package-spec matches all packages which the name glob pattern fits (RhBug:1169165) 2015-01-23 09:56:32 +01:00
tests test: don't compute hash from absolute local file path (introduced in 10518b6) 2015-08-26 15:26:19 +02:00
.gitignore leaner .gitignore. 2013-09-13 17:20:32 +02:00
AUTHORS updated AUTHORS 2015-04-10 14:38:28 +02:00
CMakeLists.txt prepare repo for tito build system 2015-04-10 14:52:07 +02:00
COPYING packaging: update COPYING. 2012-06-19 17:25:42 +02:00
INSTALL update install and readme 2004-08-31 06:52:07 +00:00
PACKAGE-LICENSING move: rpmUtils -> rpm. 2014-06-11 13:26:51 +02:00
README.rst README: fixed formating 2 2015-02-08 10:17:38 +01:00
VERSION.cmake setup tito to bump version in VERSION.cmake 2015-04-10 14:52:12 +02:00
dnf.spec Automatic commit of package [dnf] minor release [0.6.4-6]. 2015-08-26 15:27:13 +02:00

README.rst

###############
 Dandified Yum
###############

Dandified Yum (DNF) is the next upcoming major version of `Yum <http://yum.baseurl.org/>`_. It does package management using `RPM <http://rpm.org/>`_, `libsolv <https://github.com/openSUSE/libsolv>`_ and `hawkey <https://github.com/rpm-software-management/hawkey>`_ libraries. For metadata handling and package downloads it utilizes `librepo <https://github.com/tojaj/librepo>`_. To process and effectively handle the comps data it uses `libcomps <https://github.com/midnightercz/libcomps>`_.

============
 Installing
============

DNF and all its dependencies are available in Fedora 18 and later, including the
rawhide Fedora.

Optionally you use repositories with DNF nightly builds for last 2 stable Fedora versions::

    sudo cat << 'EOF' > /etc/yum.repos.d/dnf-nightly.repo
    [dnf-nightly]
    name=DNF nightly $releasever - $basearch
    baseurl=http://jenkins.cloud.fedoraproject.org/job/DNF/lastSuccessfulBuild/artifact/fedora-$releasever-$basearch-build
    enabled=1
    EOF

Then install DNF typing::

    sudo yum install dnf

In other RPM-based distributions you need to build all the components from their
sources.

======================
 Building from source
======================

From the DNF git checkout directory::

    mkdir build;
    pushd build;
    cmake .. && make;
    popd;

Then to run DNF::

    PYTHONPATH=`readlink -f .` bin/dnf <arguments>

=============================
 Building and installing rpm
=============================

From the DNF git checkout directory::
    
    cmake .
    ./package/build-test-rpm
    sudo rpm -i ~/rpmbuild/RPMS/noarch/dnf-<version>-<release>.noarch.rpm

===============
 Running tests
===============

From the DNF git checkout directory::

    mkdir build;
    pushd build;
    cmake .. && make ARGS="-V" test;
    popd;

===============
 Documentation
===============

The DNF package distribution contains man pages, dnf(8) and dnf.conf(8). It is also possible to `read the DNF documentation <http://dnf.readthedocs.org>`_ online, the page includes API documentation. There's also a `wiki <https://github.com/rpm-software-management/dnf/wiki>`_ meant for contributors to DNF and related projects.

====================
 Bug reporting etc.
====================

Please report discovered bugs to the `Red Hat bugzilla <https://bugzilla.redhat.com/>`_ following this `guide <https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting>`_.

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.