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 DNF configuration options, toggle which repositories are
9 enabled or disabled, and add new repositories.
10
12 dnf config-manager [options] <repoid>...
13
15 <repoid>
16 Display / modify a repository identified by <repoid>. If not
17 specified, display / modify main DNF configuration. Repositories
18 can be specified using globs.
19
21 --help-cmd
22 Show this help.
23
24 --add-repo=URL
25 Add (and enable) the repo from the specified file or url. If it
26 has to be added into installroot, combine it with
27 --setopt=reposdir=/<installroot>/etc/yum.repos.d command-line
28 option.
29
30 --dump Print dump of current configuration values to stdout.
31
32 --set-disabled, --disable
33 Disable the specified repos (automatically saves).
34
35 --set-enabled, --enable
36 Enable the specified repos (automatically saves).
37
38 --save Save the current options (useful with --setopt).
39
41 dnf config-manager --add-repo http://example.com/some/additional.repo
42 Download additional.repo and store it in repodir.
43
44 dnf config-manager --add-repo http://example.com/different/repo
45 Create new repo file with http://example.com/different/repo as
46 baseurl and enable it.
47
48 dnf config-manager --dump
49 Display main DNF configuration.
50
51 dnf config-manager <repoid> --dump
52 Display configuration of a repository identified by <repoid>.
53
54 dnf config-manager --set-enabled <repoid>
55 Enable repository identified by <repoid> and make the change
56 permanent.
57
58 dnf config-manager --setopt proxy=http://proxy.example.com:3128/
59 <repo1> <repo2> --save
60 Update proxy setting in repositories with repoid <repo1> and
61 <repo2> and make the change permanent.
62
64 See AUTHORS in your Core DNF Plugins distribution
65
67 2014, Red Hat, Licensed under GPLv2+
68
69
70
71
724.0.7 May 21, 2019 YUM-CONFIG-MANAGER(1)