DNF4-CONFIG-MANAGER(8)
π DNF4-CONFIG-MANAGER π
okay bestie, welcome to the dnf4-config-manager page, part of dnf-plugins-core β yes that manual, the fancy collection of plugins β¨. This little icon is the DNF config-manager Plugin, and she does three things: manage main + repository DNF configuration options, toggle repos enabled/disabled, and add brand new repos. no cap. π
πΈ NAME πΈ
dnf4-config-manager β the DNF config-manager Plugin, aka the girl who runs the config.
She manages main and repository DNF configuration options, toggles which repositories are enabled or disabled, and adds new repositories. periodt. π
β¨ SYNOPSIS β¨
dnf config-manager [options] <section>...
π¦ ARGUMENTS π¦
<section>β this one lets you explicitly pick which configuration sections you wanna manage, like a little VIP list π. A section is eithermainor a repoid. If you don't specify anything, the program goes and selects themainsection plus every repoid used inside any--setoptoptions. And yes, a repoid can be specified using globs. slay.
π OPTIONS π
All general DNF options are accepted β go peek at Options in dnf(8) for the deets, iykyk.
--help-cmdβ shows this help. that's it, that's the whole thing. π«Ά--add-repo=URLβ add (and enable) the repo from the specified file or url. If it has to be added into installroot, combine it with the--setopt=reposdir=/<installroot>/etc/yum.repos.dcommand-line option. combine, don't fight it bestie π--dumpβ print a dump of the current configuration values to stdout. show me everything π--set-disabled,--disableβ disable the specified repos (and yeah, this implies--save).--set-enabled,--enableβ enable the specified repos (also implies--save). main character energy fr fr π₯--saveβ save the current options (super useful with--setopt). make it permanent, queen π--setopt=<option>=<value>β set a configuration option. Wanna set config options for repositories? Then userepoid.optionfor the<option>. Globs are supported inrepoidπ.
β οΈ Warning: DNF config-manager can misbehave when enabling/disabling repositories generated by tools likesubscription-manageron RHEL π. In this case you should usesubscription-managerto perform such actions. not a suggestion, bestie, it's giving please listen to me π
π EXAMPLES π
the girlies love a demo, so here we go:
dnf config-manager --add-repo http://example.com/some/additional.repoβ downloadadditional.repoand store it in repodir. easy πdnf config-manager --add-repo http://example.com/different/repoβ create a new repo file with<http://example.com/different/repo>asbaseurland enable it. obsessed β¨dnf config-manager --dumpβ display the main DNF configuration. the whole vibe check π¦dnf config-manager --dump <section>β display the configuration of a repository identified by<section>. just one, like a spotlight πdnf config-manager --set-enabled <repoid>β enable the repository identified by<repoid>and make the change permanent. she's back and she's staying πdnf config-manager --set-disabled <repoid1> <repoid2>β disable the repositories identified by<repoid1>and<repoid2>πdnf config-manager --set-disabled <repoid1>,<repoid2>β disable the repositories identified by<repoid1>and<repoid2>(comma edition, same energy β¨)- ``` dnf config-manager --save --setopt=*.proxy=http://proxy.example.com:3128/ <repo1> <repo2>
update the proxy setting in the repositories with repoid `<repo1>` and `<repo2>` and make the change permanent. proxies but make it permanent π
- `dnf config-manager --save --setopt=*-debuginfo.gpgcheck=0` β update the `gpgcheck` setting in all repositories whose id ends with `-debuginfo` and make the change permanent. glob goes brrr π₯
---
# π Author π
See `AUTHORS` in your Core DNF Plugins distribution. credit where credit is due, bestie π«Ά
---
# β Copyright β
`2014, Red Hat, Licensed under GPLv2+`
---
okay that's the whole page π thank you for coming to my ted talk, this was <pink>DNF4-CONFIG-MANAGER(8)</pink> from the <cyan>dnf-plugins-core</cyan> manual, version <purple>4.10.1</purple>, dated <lavender>Sep 27, 2025</lavender>. go forth and configure responsibly, mwah πβ¨π
π¦ where this page comes from
- ubuntu resolute: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- ubuntu stonking: dnf-plugins-core 4.10.1-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms