перенаправление на Справочник по конфигурации DNF (redirecting to DNF Configuration Reference)
Имя (Name)
yum.conf - redirecting to DNF Configuration Reference
Описание (Description)
DNF by default uses the global configuration file at
/etc/dnf/dnf.conf
and all *.repo files found under
/etc/yum.repos.d
. The latter is typically used for repository
configuration and takes precedence over global configuration.
The configuration file has INI format consisting of section
declaration and name=value
options below each on separate line.
There are two types of sections in the configuration files: main
and repository. Main section defines all global configuration
options and should be only one.
The repository sections define the configuration for each (remote
or local) repository. The section name of the repository in
brackets serve as repo ID reference and should be unique across
configuration files. The allowed characters of repo ID string are
lower and upper case alphabetic letters, digits, -
, _
, .
and :
.
The minimal repository configuration file should aside from repo
ID consists of baseurl, metalink or mirrorlist option definition.