About
Libdnf is a package management library. It was originally written to support the DNF package manager and grew up into a versatile library. Now we can use it for building custom tools that load repositories, query packages, resolve dependencies and install packages.
It is powered with libsolv, wrapping it with an easy to use programming interface.
Libdnf supports working with the following artifacts:
RPM repositories (repomd)
RPM packages
Comps groups
Comps environments
Advisories (updateinfo, errata)
Modules (modulemd)
Libdnf interfaces with several programming languages with the following support:
C++ - fully supported
Python 3 - fully supported
Perl 5 - best effort
Ruby - best effort
Go - doesn’t work, looking for contributors
C - not implemented, doesn’t seem to be a priority for any of our existing API users