yum includes an interactive shell for conducting multiple commands or
sets of commands during a single execution of yum. These commands can
be issued manually or passed to yum from a file. The commands are
much the same as the normal yum command line options. See here yum(8)
for that information. There are a few additional commands documented
args: debuglevel, errorlevel, obsoletes, gpgcheck,
If no value is given it prints the current value.
If value is given it sets that value.
list: lists repositories and their status
enable: enable repositories. option = repository id
disable: disable repositories. option = repository id
list: lists the contents of the transaction
reset: reset (zero-out) the transaction
solve: run the dependency solver on the transaction
run: run the transaction
The following are examples of using the yum shell.
list available packagename*
groupinfo 'Some Group'
That will list available packages matching the glob
'packagename*'. It will return information on the group 'Some
Group' It will then queue the following commands into the
transaction: install foo, remove bar, update baz. Then the
'run' command will resolve dependencies for the transaction
commands and run the transaction.
This page is part of the yum (Yum Package Manager) project.
Information about the project can be found at
⟨http://yum.baseurl.org/⟩. If you have a bug report for this manual
page, send it to firstname.lastname@example.org. This page was obtained
from the project's upstream Git repository
⟨git://yum.baseurl.org/yum.git⟩ on 2017-03-13. If you discover any
rendering problems in this HTML version of the page, or you believe
there is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
Seth Vidal yum(8)