dnf repository

A source of RPM packages that dnf reads, defined by a section of a .repo file in /etc/yum.repos.d.

In more detail

Each section has an ID in square brackets, a name, a baseurl or metalink, and gpgcheck and enabled settings. dnf repolist shows the enabled ones, and dnf install fails until at least one reachable repository offers the package.

Example

[exam-baseos]
baseurl=http://content.example.com/rhel10/x86_64/dnf/BaseOS

Related terms

Taught in

References

Certification courses