1yum(8) yum(8)
2
3
4
6 yum - Yellowdog Updater Modified shell
7
9 yum shell [filename]
10
12 yum includes an interactive shell for conducting multiple commands or
13 sets of commands during a single execution of yum. These commands can
14 be issued manually or passed to yum from a file. The commands are much
15 the same as the normal yum command line options. See here yum(8) for
16 that information. There are a few additional commands documented below.
17
18
19 config
20 [argument] [value]
21 args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes,
22 exclude
23 If no value is given it prints the current value.
24 If value is given it sets that value.
25
26 repo
27 [argument] [option]
28 list: lists repositories and their status
29 enable: enable repositories. option = repository id
30 disable: disable repositories. option = repository id
31
32 transaction
33 [argument]
34 list: lists the contents of the transaction
35 reset: reset (zero-out) the transaction
36 solve: run the dependency solver on the transaction
37 run: run the transaction
38
39 exit
40 Causes the shell to exit, setting the exit status as speci‐
41 fied by the
42 shell_exit_status option in yum.conf(5).
43 This command is also triggered when EOF is read (usually
44 the C-d keystroke
45 or end of script).
46
47
49 The following are examples of using the yum shell.
50
51 list available packagename*
52 groupinfo 'Some Group'
53 install foo
54 remove bar
55 update baz
56 run
57
58 That will list available packages matching the glob 'package‐
59 name*'. It will return information on the group 'Some Group' It
60 will then queue the following commands into the transaction:
61 install foo, remove bar, update baz. Then the 'run' command will
62 resolve dependencies for the transaction commands and run the
63 transaction.
64
66 yum [4m(8)
67 http://yum.baseurl.org/
68
69
71 See the Authors file included with this program.
72
73
75 There of course aren't any bugs, but if you find any, they should be
76 sent to the mailing list: yum@lists.baseurl.org or filed in bugzilla.
77
78
79
80Seth Vidal yum(8)