How To Install DNF On CentOS 7

Install DNF On CentOS 7

8 Responses

  1. Earl Higgins says:

    This might not be the forum to ask, but I am wondering if anyone knows if there is a reason why modern versions of Centos 7 do not include DNF, given how it has been available in mainstream Fedora for nearly 3 years.

  2. louis says:

    Instructions fail…—> Package python-dnf.noarch 0:0.6.4-2.sdl7 will be installed
    –> Processing Dependency: python-libcomps >= 0.1.6 for package: python-dnf-0.6.4-2.sdl7.noarch
    –> Finished Dependency Resolution
    Error: Package: python-dnf-0.6.4-2.sdl7.noarch (/python-dnf-0.6.4-2.sdl7.noarch)
    Requires: python-libcomps >= 0.1.6

  3. Shawn says:

    You need all these rpms(5 total) including the dependencies and run the install:
    yum install dnf-0.6.4-2.sdl7.noarch.rpm dnf-conf-0.6.4-2.sdl7.noarch.rpm python2-libcomps-0.1.8-12.el7.x86_64.rpm python-dnf-0.6.4-2.sdl7.noarch.rpm libcomps-0.1.8-12.el7.x86_64.rpm

  4. Daniel says:

    Today it’s already possible install using #yum install dnf

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.