『YUM COMMAND CHEAT SHEET』

来自Wikioe
Eijux讨论 | 贡献2020年10月15日 (四) 23:31的版本
跳到导航 跳到搜索


Download YUM COMMAND CHEAT SHEET for Red Hat Enterprise Linux

SUBCOMMAND DESCRIPTIONS AND TASKS
YUM QUERIES
help Display yum commands and options

yum help
Show yum subcommands and options

list List package names from repositories

yum list available
List all available packages
yum list installed
List all installed packages
yum list all
List installed and available packages
yum list kernel
List installed and available kernel packages

info Display information about a package

yum info vsftpd
List info about vsftpd package

deplist Display dependencies for a package

yum deplist nfs-utils
List dependencies and packages providing them

provides Find packages that provide the queried file

yum provides “*bin/top”
Show package that contains top command
yum provides “*/README.top”
Show package containing README.top file

search Search package names and descriptions for a term

yum search samba
Find packages with samba in name or description

updateinfo Get information about available package updates

yum updateinfo security
Get info on available security updates

updateinfo
updateinfo
updateinfo
INSTALL, REMOVE AND UPGRADE PACKAGES WITH YUM
TROUBLESHOOT AND MAINTAIN YUM
MANAGE YUM REPOSITORIES
MANAGE LANGUAGE PACKAGES WITH YUM
POPULAR OPTIONS FOR DIFFERENT YUM COMMANDS **
MORE YUM-RELATED COMMANDS (install the yum-utils package)