1YUM-CONFIG-MANAGER(1) dnf-plugins-core YUM-CONFIG-MANAGER(1)
2
3
4
6 yum-config-manager - redirecting to DNF config-manager Plugin
7
8 Manage main and repository DNF configuration options, toggle which
9 repositories are enabled or disabled, and add new repositories.
10
12 dnf config-manager [options] <section>...
13
15 <section>
16 This argument can be used to explicitly select the configuration
17 sections to manage. A section can either be main or a repoid.
18 If not specified, the program will select the main section and
19 each repoid used within any --setopt options. A repoid can be
20 specified using globs.
21
23 All general DNF options are accepted, see Options in dnf(8) for
24 details.
25
26 --help-cmd
27 Show this help.
28
29 --add-repo=URL
30 Add (and enable) the repo from the specified file or url. If it
31 has to be added into installroot, combine it with
32 --setopt=reposdir=/<installroot>/etc/yum.repos.d command-line
33 option.
34
35 --dump Print dump of current configuration values to stdout.
36
37 --set-disabled, --disable
38 Disable the specified repos (implies --save).
39
40 --set-enabled, --enable
41 Enable the specified repos (implies --save).
42
43 --save Save the current options (useful with --setopt).
44
45 --setopt=<option>=<value>
46 Set a configuration option. To set configuration options for
47 repositories, use repoid.option for the <option>. Globs are sup‐
48 ported in repoid.
49
51 dnf config-manager --add-repo http://example.com/some/additional.repo
52 Download additional.repo and store it in repodir.
53
54 dnf config-manager --add-repo http://example.com/different/repo
55 Create new repo file with http://example.com/different/repo as
56 baseurl and enable it.
57
58 dnf config-manager --dump
59 Display main DNF configuration.
60
61 dnf config-manager --dump <section>
62 Display configuration of a repository identified by <section>.
63
64 dnf config-manager --set-enabled <repoid>
65 Enable repository identified by <repoid> and make the change
66 permanent.
67
68 dnf config-manager --save --setopt=*.proxy=http://proxy.exam‐
69 ple.com:3128/ <repo1> <repo2>
70 Update proxy setting in repositories with repoid <repo1> and
71 <repo2> and make the change permanent.
72
73 dnf config-manager --save --setopt=*-debuginfo.gpgcheck=0
74 Update gpgcheck setting in all repositories whose id ends with
75 -debuginfo and make the change permanent.
76
78 See AUTHORS in your Core DNF Plugins distribution
79
81 2020, Red Hat, Licensed under GPLv2+
82
83
84
85
864.0.15 Apr 08, 2020 YUM-CONFIG-MANAGER(1)