第 2 章 Configuring DNF
The configuration of DNF and related utilities is stored in the [main] section of the /etc/dnf/dnf.conf file.
2.1. Viewing the current DNF configurations 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The [main] section in the /etc/dnf/dnf.conf file contains only the settings that have been explicitly set. However, you can display all settings of the [main] section, including the ones that have not been set and which, therefore, use their default values.
Procedure
Display the global DNF configuration:
# dnf config-manager --dump