14.3. yum Options
yum
options are typically stated before specific yum
commands; i.e. yum <options> <command> <package name/s>
. Most of these options can be set as default using the configuration file.
The following is a list of the most commonly-used
yum
options. For a complete list of available yum
options, refer to man yum
.
-
-y
- Answer "yes" to every question in the transaction.
-
-t
- Sets
yum
to be "tolerant" of errors with regard to packages specified in the transaction. For example, if you runyum update package1 package2
andpackage2
is already installed,yum
will continue to installpackage1
. -
--exclude=<package name>
- Excludes a specific package by name or glob in a specific transaction.