Git Product home page Git Product logo

dnf5's Introduction

DNF5

DNF5 is a command-line package manager that automates the process of installing, upgrading, configuring, and removing computer programs in a consistent manner. It supports RPM packages, modulemd modules, and comps groups and environments.

As part of the DNF5 stack, libdnf is the package management library. It was originally written to support the DNF package manager, but gradually grew up into a versatile library. You can now use libdnf to build custom tools that load repositories, query packages, resolve dependencies, and install packages.

DNF5 is also powered with the libsolv library which provides an easy to use programming interface.

By using DNF5, you can work with the following artifacts:

  • RPM repositories (repomd)
  • RPM packages
  • Comps groups
  • Comps environments
  • Advisories (updateinfo, errata)
  • Modules (modulemd)

DNF5 is written in C++ and it can interface with the following programming languages:

  • C++ - fully supported.
  • Python 3 - fully supported.
  • Perl 5 - best effort.
  • Ruby - best effort.

Note, however, that DNF5 cannot yet interface with the following programming languages:

  • Go - does not work, we are looking for contributors.
  • C - not implemented, not a priority for any of our existing API users.

Installing DNF5

DNF5 is available since Fedora 38. To install the DNF5 package manager, use either of the following commands, depending on your Fedora release:

Fedora release Command
37 sudo dnf copr enable rpmsoftwaremanagement/dnf-nightly && sudo dnf install dnf51
38 or newer sudo dnf install dnf5

Note: dnf-nightly provides nightly builds for the entire DNF stack. Once you enable this repository you will start receiving updates for DNF, libdnf, and for the other packages of the stack.

Testing DNF5 obsoletes DNF

Optionally you can install DNF5 from these COPR repositories23. The packages are build using the copr option --rpmbuilds-with dnf5_obsoletes_dnf. By installing these packages DNF5 will be the default package manager in your system. You will still be able to use DNF running dnf4.

Packages from dnf5-testing are versioned following Fedora release pace and are updated every two weeks. Packages from dnf5-testing-nightly are built nightly.

Command DNF5 Version
sudo dnf copr enable rpmsoftwaremanagement/dnf5-testing2 Fedora rawhide version
sudo dnf copr enable rpmsoftwaremanagement/dnf5-testing-nightly3 Nightly Builds

Documentation

  • DNF5 HTML Documentation
  • The header files are documented because documentation is mainly generated from these files.

Contributing to the DNF5 project

For details about how to contribute to the DNF5 project, see CONTRIBUTING.md.

  • By contributing to the DNF5 project you agree with the Developer Certificate of Origin (DCO). DCO contains a simple statement that you, as a contributor, have the legal right to submit a contribution. For more details, see the DCO file.
  • All contributions to this project are licensed under LGPLv2.1+ or GPLv2+. For more details, see the License section.

Reporting issues

To report an issue, use either of the following methods:

Developing DNF5 by building and testing the code

For details about building and testing DNF5, see the Development environment setup section.

Translating

TBD

License

  • The DNF5 libraries are licensed under LGPLv2.1+.
  • The standalone programs that are part of the DNF5 project are licensed under GPLv2+.

For more details about licenses, see COPYING.

Footnotes

  1. https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nigthly

  2. https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-testing/ 2

  3. https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-testing-nightly/ 2

dnf5's People

Contributors

jrohel avatar m-blaha avatar j-mracek avatar kontura avatar jan-kolarik avatar inknos avatar pkratoch avatar evan-goode avatar lukash avatar ppisar avatar dmach avatar conan-kudo avatar softwaresale avatar praiskup avatar bkrl avatar bavuett avatar robert-scheck avatar tmzullinger avatar keszybz avatar tpgxyz avatar gotmax23 avatar hellozee avatar kolanich avatar wi24rd avatar mcrha avatar madonuko avatar lu4nx avatar sgallagher avatar pmatilai avatar nitzmahone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.