yum¶
"yum - Yellowdog Updater Modified" - man yum
"yum is an interactive, rpm based, package manager." - man yum
Examples¶
Show a list of enabled repositories¶
Show a list of available repositories¶
Show all installed packages, their versions and their source repo¶
List available packages and the repo they come from¶
Show all duplicates in a search¶
This is a good way to get a complete list of packages that are available that match a certain string
Query available packages in a given repository¶
Upgrade and skip broken dependencies¶
Upgrade and skip certain packages¶
Check for package conflicts¶
install yum-utils, then run package-cleanup
Find a package that includes a specific command or file¶
Check for groups of packages¶
yum grouplist
Enable optional installs in groups¶
Add group_package_types=mandatory,default,optional in /etc/yum.conf
Download but do not install packages for update¶
Install a local file using yum¶
Auto-updates for Centos5¶
Auto-updates for Centos6¶
See Also¶
- rpm - interact with rpms directly
- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Managing_Yum_Repositories.html