YUM-CONFIG-MANAGER(1)
πΈ NAME πΈ
okay bestie, meet yum-config-manager β it's redirecting to the DNF config-manager Plugin, no cap π
. It's the whole vibe for managing main and repository DNF configuration options, toggling which repositories are enabled or disabled, and adding new repositories. iconic. β¨
β¨ SYNOPSIS β¨
dnf config-manager [options] <section>...
that's the whole mood: options, then one or more <section> things. periodt. π
π¦ ARGUMENTS π¦
<section>β use this when you wanna explicitly pick the configuration sections to manage. A section can either bemainor arepoid. If not specified, the program will select themainsection and eachrepoidused within any--setoptoptions. Arepoidcan be specified using globs. iykyk π
π OPTIONS π
All general DNF options are accepted, see Options in dnf(8) for details. like, the whole DNF menu is open to you, bestie π«Ά
--help-cmdβ Show this help. the classic βhelp me help youβ moment π--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--setopt=reposdir=/<installroot>/etc/yum.repos.dcommand-line option. π--dumpβ Print dump of current configuration values to stdout. very βshow me everythingβ energy β¨--set-disabled,--disableβ Disable the specified repos (implies--save).--set-enabled,--enableβ Enable the specified repos (implies--save). slay. π--saveβ Save the current options (useful with--setopt).--setopt=<option>=<value>β Set a configuration option. To set configuration options for repositories, 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. like bestie, pls be careful here π
π EXAMPLES π
dnf config-manager --add-repo http://example.com/some/additional.repoβ Downloadadditional.repoand store it inrepodir.dnf config-manager --add-repo http://example.com/different/repoβ Create new repo file withhttp://example.com/different/repoasbaseurland enable it.dnf config-manager --dumpβ Display main DNF configuration.dnf config-manager --dump <section>β Display configuration of a repository identified by<section>.dnf config-manager --set-enabled <repoid>β Enable repository identified by<repoid>and make the change permanent.dnf config-manager --set-disabled <repoid1> <repoid2>β Disable repositories identified by<repoid1>and<repoid2>.dnf config-manager --set-disabled <repoid1>,<repoid2>β Disable repositories identified by<repoid1>and<repoid2>.- proxy glow-up, but make it permanent:
dnf config-manager --save
--setopt=*.proxy=http://proxy.example.com:3128/ <repo1> <repo2>
Update proxy setting in repositories with repoid <repo1> and <repo2> and make the change permanent. π₯
dnf config-manager --save --setopt=*-debuginfo.gpgcheck=0β Updategpgchecksetting in all repositories whose id ends with-debuginfoand make the change permanent.
π AUTHOR π
See AUTHORS in your Core DNF Plugins distribution. yes, the whole squad is credited there π«Ά
π COPYRIGHT π
2014, Red Hat, Licensed under GPLv2+. π
okay that's the whole lore, bestie β this page is serving dnf-plugins-core 4.10.1 energy, dated Mar 28, 2025. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: yum-utils 4.10.1-bp160.1.7 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms