1yum-config-manager(1)                                    yum-config-manager(1)
2
3
4

NAME

6       yum-config-manager - manage yum configuration options and yum reposito‐
7       ries
8

SYNOPSIS

10       yum-config-manager [options] [section ...]
11

DESCRIPTION

13       yum-config-manager is a program that can manage main yum  configuration
14       options, toggle which repositories are enabled or disabled, and add new
15       repositories.
16
17       Unless --add-repo is used, the program will output the current configu‐
18       ration  of  the  selected  sections, and optionally save it back to the
19       corresponding files.
20
21       By default, if no positional arguments are specified, the program  will
22       select  the  [main] section and each enabled repository.  You can over‐
23       ride this by specifying your own list of sections as  arguments  (these
24       may  also include disabled repositories).  A section can either be main
25       or a repoid.
26

OPTIONS

28       -h, --help
29              Display a help message, and then quit.
30
31       --setopt=option=value
32              Set any config option in yum config or repo files.  For  options
33              in  the  global  config just use: --setopt=option=value for repo
34              options  use:  --setopt=repoid.option=value.   The  latter  form
35              accepts  wildcards  in  repoid  that  will  be  expanded  to the
36              selected sections.  If repoid  contains  no  wildcard,  it  will
37              automatically  be selected; this is useful if you are addressing
38              a disabled repo, in which case you don't  have  to  additionally
39              pass it as an argument.
40
41       --save Save the current options (useful with --setopt).
42
43       --enable
44              Enable  the specified repos (automatically saves). To enable all
45              repositories run "yum-config-manager --enable \*".
46
47       --disable
48              Disable the specified repos (automatically  saves).  To  disable
49              all repositories run "yum-config-manager --disable \*".
50
51       --add-repo=ADDREPO
52              Add (and enable) the repo from the specified file or url.
53

ADDITIONAL OPTIONS

55       Yum-config-manager  inherits all other options from yum. See the yum(8)
56       man page for more information.
57
58

EXAMPLES

60       Show the configuration of [main] and the repos foo and bar:
61
62              yum-config-manager main foo bar
63
64       Enable the repos foo and bar:
65
66              yum-config-manager --enable foo bar
67
68       Change a global option:
69
70              yum-config-manager --setopt=installonly_limit=5 --save
71
72       Change a repo option of the repo foo (works even if foo is disabled):
73
74              yum-config-manager --setopt=foo.skip_if_unavailable=1 --save
75
76       Change a repo option of more repos at once:
77
78              yum-config-manager --setopt=\*.skip_if_unavailable=1 --save  foo
79              bar baz
80
81       Change a repo option of all the enabled repos:
82
83              yum-config-manager --setopt=\*.skip_if_unavailable=1 --save
84
85       Change  a  repo option of all the configured (that is, enabled and dis‐
86       abled) repos:
87
88              yum-config-manager --setopt=\*.skip_if_unavailable=1 --save \*
89
90

SEE ALSO

92       yum.conf (5)
93       http://yum.baseurl.org/
94
95

AUTHORS

97       See the Authors file included with this program.
98
99
100
101                                13 January 2013          yum-config-manager(1)
Impressum