• Stars
    star
    233
  • Rank 172,230 (Top 4 %)
  • Language
    C++
  • License
    Other
  • Created over 2 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Next-generation RPM package management system

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

To install the DNF5 package manager, use either of the following commands, depending on your Fedora release:

Fedora release Command
36 sudo dnf copr enable rpmsoftwaremanagement/dnf5-unstable && sudo dnf install dnf51
37 sudo dnf copr enable rpmsoftwaremanagement/dnf5-unstable && sudo dnf install dnf51
38 sudo dnf install dnf5

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/dnf5-unstable/ ↩ ↩2

More Repositories

1

dnf

Package manager based on libdnf and libsolv. Replaces YUM.
Python
1,226
star
2

rpm

The RPM package manager
C
494
star
3

mock

Mock is a tool for a reproducible build of RPM packages.
Python
381
star
4

tito

A tool for managing rpm based git projects.
Python
378
star
5

microdnf

Lightweight implementation of dnf in C
C
216
star
6

libdnf

Package management library.
C++
182
star
7

rpmlint

Tool for checking common errors in rpm packages
Python
128
star
8

yum

[DEPRECATED] YUM package manager
Python
125
star
9

dnf-plugins-core

Core DNF Plugins
Python
108
star
10

createrepo_c

C implementation of the createrepo.
C
96
star
11

hawkey

This is hawkey, library providing simplified C and Python API to libsolv. Hawkey project is obsoleted.
C
88
star
12

librepo

A library providing C and Python (libcURL like) API for downloading packages and linux repository metadata in rpm-md format
C
74
star
13

dnf-plugins-extras

repository for DNF community plugins
Python
65
star
14

modulemd-tools

Collection of tools for parsing and generating modulemd YAML files
Python
49
star
15

popt

C library for parsing command line parameters
C
49
star
16

yum-utils

[DEPRECATED] A collection of utilities, plugins and examples related to the YUM package manager
Python
34
star
17

librpm.rs

Rust bindings to the RPM Package Manager libraries (librpm, librpmbuild, librpmsign)
Rust
31
star
18

libcomps

Libcomps is alternative for yum.comps library. It's written in pure C as library and there's bindings for python2 and python3.
C
29
star
19

distribution-gpg-keys

Collection of GPG keys used in Linux Distributions
Python
28
star
20

spec-cleaner

spec-cleaner
Python
28
star
21

createrepo

Python
27
star
22

dnf-plugin-system-upgrade

A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
Python
24
star
23

deltarpm

C
21
star
24

ci-dnf-stack

CI tests for the dnf stack
Gherkin
14
star
25

rpm-sequoia

An OpenPGP backend for rpm using Sequoia PGP
Rust
14
star
26

urlgrabber

Python
14
star
27

drpm

C
10
star
28

rpm-web

RPM web content
Python
10
star
29

fakeuname

Small library that overrides uname() system call to return configured fake kernel release.
C
7
star
30

rpm-gitoverlay

Manage an overlay repository of RPMs from upstream git
Python
7
star
31

fedora-distro-aliases

Aliases for active Fedora releases
Python
5
star
32

maximum-rpm

Maximum RPM
Shell
4
star
33

opensuse-distro-aliases

Aliases for active openSUSE releases
Python
4
star
34

yum-metadata-parser

C
4
star
35

rpm-extras

Shell
3
star
36

python-rpm-packaging

Tools for packaging Python projects with rpm
Python
3
star
37

dnf-URPM

URPM* tool suite implemented on top of DNF
Python
3
star
38

librhsm

C
3
star
39

rpm-metadata

Documentation of the RPM MetaData (rpm-md) format
XSLT
3
star
40

libdnf-l10n

Repository for syncing translations of the libdnf component with weblate.
Python
2
star
41

dnf-plugins-core-l10n

Repository for syncing translations of the dnf-plugins-core component with weblate.
Python
2
star
42

yum-docs

Legacy repository for Yum documentation
2
star
43

libpkgmanifest

Library for working with RPM manifests
C++
2
star
44

perl-rpm-packaging

Tools for packaging Perl projects with rpm
Perl
1
star
45

perl-RPM4

Perl module to access and manipulate RPM files
Perl
1
star
46

rpmconstant

Small library to find constants in rpm headers
C
1
star
47

dnf-l10n

Repository for syncing translations of the dnf component with weblate.
1
star
48

dnf-plugins-extras-l10n

Repository for syncing translations of the dnf-plugins-extras component with weblate.
Python
1
star
49

popt-l10n

Popt translations
CMake
1
star
50

libdnf-plugin-template

Template for libdnf plugin
C
1
star
51

dnf5-l10n

This repo is for synchronization of dnf5 translations with translate.fedoraproject.org
1
star
52

test-repo

A repository for testing DNF Bot and CI. Unfortunately a personal repo is not good enough for that.
1
star
53

mock-test-data

Place to store big binary blobs for the purpose of mock integration testing (shallow clone expected from here)
Python
1
star
54

libparch

Handle architectures for packaging purposes
C
1
star
55

yum-updatesd

yum-updatesd
Python
1
star
56

rpm-l10n

Rpm translations
CMake
1
star
57

org-admin

Adminsitrative requests for the rpm-software-management organization
1
star
58

rpm-software-management.github.io

Blog of the Software Management (DNF, RPM, YUM) teams.
HTML
1
star
59

rpmpgp_legacy

RPM legacy OpenPGP parser
C
1
star
60

R-rpm-macros

Macros and scripts for packaging software in R
R
1
star