DNF5.CONF(5) dnf5 DNF5.CONF(5) dnf5.conf - DNF5 DNF5 /etc/dnf/dnf.conf. INI = . : . . ( ). (repo ID) . - _ . :. baseurl metalink mirrorlist. [MAIN] allow_downgrade DNF5 . : True. allow_vendor_change DNF5 rpm . : True. : downgrade distro-sync assumeno DNF5 No : False. assumeyes DNF5 Yes ( defaultyes). : False. best True . False . : True. : . cachedir DNF5 . . DNF5 . : ~/.cache/libdnf5. system_cachedir. cacheonly all metadata none. all DNF5 . metadata DNF5 . : none. : : . pre_config. . check_config_file_age DNF5 ( dnf.conf foo.repo). : True. : . metadata_expire. clean_requirements_on_remove DNF5 dnf remove. clean_requirements_on_remove DNF5 . installonlypkgs . : True. debugdir libsolv debug_solver. ./debugdata. debug_solver libsolv . debugdir. : False. defaultyes Yes. assumeyes . : False. destdir . : /packages exclude_from_weak list ( ). (glob) . []. exclude_from_weak_autodetect DNF5 ( ) . dnf ( ). true. excludeenvs list . disable_excludes. : []. excludegroups list . disable_excludes. : []. group_package_types list : optional default mandatory conditional. DNF5 'group install ' 'install @'. : default, mandatory, conditional. ignorearch RPM (CPU). : False. installonlypkgs list . (Kernels) . dnf autoremove ( clean_requirements_on_remove ). installonlypkgs DNF5. installonly_limit. installonly_limit integer installonly . 1 . 2. 0 installonly. : 3. installroot . . --installroot. : /. install_weak_deps ( Recommends Supplements) . : True. keepcache . . : False. logdir . : ~/.local/state. : /var/log. log_rotate integer log_rotate . log_rotate 0 . : 4. log_size log_size . log_size 0 . . log_rotate. : 1M. module_platform_id $name:$stream PLATFORM_ID /etc/os-release. . : . module_stream_switch . : False. multilib_policy multilib . best all . : best. obsoletes DNF5 (obsoletes) . . /. : --obsoletes : True. optional_metadata_types list : comps filelists other presto updateinfo all primary modules . DNF . : DNF. ( AppStream XML). all DNF. : comps,updateinfo persistdir DNF5 . : /var/lib/dnf. pluginconfpath list libdnf5 . . : /etc/dnf/libdnf5-plugins. pluginpath list libdnf5 . . : /usr/lib64/libdnf5/plugins/ plugins libdnf5. : True. protected_packages list DNF5 . (Obsoletes) /. : dnf5,glob:/etc/dnf/protected.d/*.conf. : /etc/dnf/protected.d . DNF5 . protect_running_kernel. protect_running_kernel . : True. : YUM recent integer --recent repoquery <# repoquery-command-ref-label> info <# info-command-ref-label> list <#list-command-ref-label>. : 7 reposdir list . reposdir --installroot. : [/etc/yum.repos.d, /etc/distro.repos.d, /usr/share/dnf5/repos.d] skip_broken DNF5 . : False. skip_unavailable DNF5 rpm. : False. system_cachedir cachedir. . : /var/cache/libdnf5. system_state_dir . dnf5-system-state(7) <#systemstate-misc-ref-label> . : /usr/lib/sysimage/libdnf5. transaction_history_dir . system_state_dir . tsflags list RPM. +-------------+----------------------------+ |tsflag value | | | | RPM | +-------------+----------------------------+ |noscripts | RPMTRANS_FLAG_NOSCRIPTS | +-------------+----------------------------+ |test | RPMTRANS_FLAG_TEST | +-------------+----------------------------+ |notriggers | RPMTRANS_FLAG_NOTRIGGERS | +-------------+----------------------------+ |nodocs | RPMTRANS_FLAG_NODOCS | +-------------+----------------------------+ |justdb | RPMTRANS_FLAG_JUSTDB | +-------------+----------------------------+ |nocontexts | RPMTRANS_FLAG_NOCONTEXTS | +-------------+----------------------------+ |nocaps | RPMTRANS_FLAG_NOCAPS | +-------------+----------------------------+ |nocrypto | RPMTRANS_FLAG_NOFILEDIGEST | +-------------+----------------------------+ |deploops | RPMTRANS_FLAG_DEPLOOPS | +-------------+----------------------------+ nocrypto VS _RPMVSF_NOSIGNATURES _RPMVSF_NODIGESTS. test . OpenPGP ( ) rpm . nocaps rpm-4.14 . nocaps rpm DNF5 tsflag . : . use_host_config (installroot). <# installroot-misc-ref-label> dnf5-installroot(7) . : False. varsdir list . . : /etc/dnf/vars. zchunk zchunk ( ). : True. [MAIN] - color_list_available_upgrade . . : bold,blue. color_list_available_downgrade . . : dim,magenta. color_list_available_reinstall . . : bold,green. color_list_available_install . . : bold,cyan. color_update_installed . . : dim,red. color_update_label @commandline. . : dim,green. color_update_remote // . . : bold,green. color_search_match . : bold,magenta. baseurl list URL . []. URL ( "failovermethod=priority" yum). cost integer 1000. . . . enabled . : True. gpgkey list URL OpenPGP . . : [] _ URL metalink . : None. mirrorlist URL (mirrorlist) . : None. name . (ID) . priority integer . ( ). : 99 type . : rpm-md. rpm-md: rpm repomd rpmmd yum YUM. : . "-rpms" "-source-rpms" "-debug-rpms". ( "-rpms") "-source" "-debuginfo". "fedora" "fedora-source" "fedora-debuginfo". "fedora-rpms" "fedora-source-rpms" "fedora-debug-rpms". : $arch aarch64 i586 i686 x86_64. $basearch . i686 i586 i386 AMD64 Intel64 x86_64. $releasever DNF5 RPMDB. . . _DNF_VAR : $ DNF_VAR_MY_VARIABLE=value . : [myrepo] baseurl=https://example.site/pub/fedora/$MY_VARIABLE/releases/$releasever arch basearch . DNF0 DNF9 : $ DNF1=value [myrepo] baseurl=https://example.site/pub/fedora/$DNF1/releases/$releasever [MAIN] REPO . . bandwidth . (throttle). : 0. build_cache DNF5 libsolv cachedir. solv DNF5 . : True. countme HTTP GET metalink URL . . IP ( DHCP NAT ). HTTP . DNF . "countme=N" metalink N "" . : +-------+----------------------------+ |bucket | | | | | +-------+----------------------------+ |1 | | | | | +-------+----------------------------+ |2 | (2 - 4 | | | ) | +-------+----------------------------+ |3 | 6 | | | (5 - 24 | | | ) | +-------+----------------------------+ |4 | 6 | | | (> 24 | | | ) | +-------+----------------------------+ ( ) . ("") machine-id(5) . ( systemd(1)) . ( ) URL metalink ( $releasever) (epoch). metalink mirrorlist . : False. disable_excludes list . ( globs) . main . * . enablegroups DNF5 . : True. excludepkgs list . disable_excludes. : []. fastestmirror TCP . . mirrorlist/metalink mirrorlist IP . : False. pkg_gpgcheck OpenPGP . False. localpkg_gpgcheck. gpgcheck pkg_gpgcheck . includepkgs list . excludepkgs DNF5 . excludepkgs 'excludepkgs=*.i386' 'includepkgs=python*' DNF5 python i386. disable_excludes. : []. ip_resolve ip DNF5 . 4 IPv4 6 IPv6 IPv4 IPv6 . : whatever. localpkg_gpgcheck DNF5 OpenPGP ( ). : False. max_parallel_downloads integer . 20. : 3. __ . -1 never . (dnf.conf .repo). check_config_file_age. : 60 * 60 * 48, 48 hours. minrate . (timeout) DNF5 . : 1000. password HTTP . : . proxy URL . . ://[:port]. ( '_none_' .) : . : curl ( http_proxy) ( '_none_' ). curl . proxy_username . : . proxy_password . : . proxy_auth_method . +----------+----------------------------+ |method | | +----------+----------------------------+ |basic | HTTP | | | | +----------+----------------------------+ |digest | HTTP | | | | | | (Digest) | +----------+----------------------------+ |negotiate | HTTP | | | Negotiate (SPNEGO) | +----------+----------------------------+ |ntlm | HTTP | | | NTLM | +----------+----------------------------+ |digest_ie | HTTP | | | | | | (Digest) | | | IE | +----------+----------------------------+ |ntlm_wb | NTLM | | | | | | winbind | +----------+----------------------------+ |none | | | | | | | | +----------+----------------------------+ |any | | | | | | | | +----------+----------------------------+ : any. proxy_sslcacert SSL . : . proxy_sslclientcert SSL . : . proxy_sslclientkey SSL . : . proxy_sslverify SSL . . False SSL . : True. repo_gpgcheck DNF5 OpenPGP . : OpenPGP OpenPGP . . DNF5 . . : False. skip_if_unavailable DNF5 . . . : False. : . sslcacert SSL. : . sslclientcert SSL . : . sslclientkey SSL . : . sslverify SSL . . SSL . : True. throttle . (bandwidth). 0 . : 0. timeout . (minrate). : 30. username HTTP . : . user_agent (User-Agent) HTTP DNF5. : libdnf (NAME VERSION_ID; VARIANT_ID; OS.BASEARCH) : NAME VERSION_ID VARIANT_ID os-release(5) OS BASEARCH . : libdnf (Fedora 39; server; Linux.x86_64) boolean . : 1 0 True False yes no. color red,bold. o : black blue cyan green magenta red white yellow. o : bold blink dim normal reverse underline. integer . ip ip. : 4 IPv4 6 IPv6. list . . k M G. string . . -1 never. (DROP-IN) DNF5 . : 1. . . . 2. . . . : o /etc/dnf/dnf.conf o /etc/dnf/libdnf5.conf.d/20-user-settings.conf o /etc/dnf/libdnf5.conf.d/60-something.conf o /etc/dnf/libdnf5.conf.d/80-user-settings.conf : o /usr/share/dnf5/libdnf.conf.d/50-something.conf o /usr/share/dnf5/libdnf.conf.d/60-something.conf o /usr/share/dnf5/libdnf.conf.d/90-something.conf ( usr/share/dnf5/libdnf.conf.d/60-something.conf/ etc/dnf/libdnf5.conf.d/60-something.conf/): 1. /etc/dnf/libdnf5.conf.d/20-user-settings.conf 2. /usr/share/dnf5/libdnf.conf.d/50-something.conf 3. /etc/dnf/libdnf5.conf.d/60-something.conf 4. /etc/dnf/libdnf5.conf.d/80-user-settings.conf 5. /usr/share/dnf5/libdnf.conf.d/90-something.conf 6. /etc/dnf/dnf.conf /etc/dnf/libdnf5.conf.d/ /etc/dnf/libdnf5.conf.d/20-user-settings.conf /usr/share/dnf5/libdnf.conf.d/ /usr/share/dnf5/libdnf.conf.d/50-something.conf (DROP-IN) . . . (globs) . : 1. /usr/share/dnf5/repos.override.d/ /etc/dnf5/repos.override.d/ . /etc/dnf5/repos.override.d/. . /etc. 2. . . : (Config-manager Command) <# config-manager-plugin-ref-label> . # `skip_if_unavailable` [*] skip_if_unavailable = true # `skip_if_unavailable` "fedora" [fedora*] skip_if_unavailable = false . : o /etc/dnf/repos.overide.d/20-user-overrides.repo o /etc/dnf/repos.overide.d/60-something2.repo o /etc/dnf/repos.overide.d/80-user-overrides.repo o /etc/dnf/repos.overide.d/99-config-manager.repo : o /usr/share/dnf5/repos.overide.d/50-something2.repo o /usr/share/dnf5/repos.overide.d/60-something2.repo o /usr/share/dnf5/repos.overide.d/90-something2.repo : 1. /etc/dnf/repos.overide.d/20-user-overrides.repo 2. /usr/share/dnf5/repos.overide.d/50-something2.repo 3. /etc/dnf/repos.overide.d/60-something2.repo 4. /etc/dnf/repos.overide.d/80-user-overrides.repo 5. /usr/share/dnf5/repos.overide.d/90-something2.repo 6. /etc/dnf/repos.overide.d/99-config-manager.repo /etc/dnf/repos.override.d/ /etc/dnf/repos.override.d/20-user-overrides.repo /usr/share/dnf5/repos.override.d/ /usr/share/dnf5/repos.override.d/50-something2.repo /etc/dnf/dnf.conf /var/cache/libdnf5 /etc/yum.repos.d/ /etc/dnf/vars ( ). . /etc/yum/vars YUM. . : . . . . YUM /etc/yum.repos.d/ /etc /etc/distro.repos.d/ /usr /usr/share/dnf5/repos.d/ /etc/dnf/vars/ /usr/share/dnf5/vars.d/ o dnf5(8) DNF5 <#command-ref-label> o dnf5.conf-todo(5) / DNF DNF5 <#dnf5-conf-todo-label> o dnf5.conf-deprecated(5) DNF5 <#dnf5-conf-deprecated-label> AUTHORS.md dnf5. dnf5. 3 . . : . 19 2026 DNF5.CONF(5)