“『YUM COMMAND CHEAT SHEET』”的版本间差异

来自Wikioe
跳到导航 跳到搜索
无编辑摘要
第1行: 第1行:
[[category:Linux]]
[[category:Linux]]


YUM COMMAND CHEAT SHEET for Red Hat Enterprise Linux
Download [https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf YUM COMMAND CHEAT SHEET for Red Hat Enterprise Linux]
{| class="wikitable"
! SUBCOMMAND !! DESCRIPTIONS AND TASKS
|-
! colspan="2"| YUM QUERIES
|-
| help
| ''Display yum commands and options''
'''yum help'''<br/>
Show yum subcommands and options<br/>
|-
| list
| ''List package names from repositories''
'''yum list available'''<br/>
List all available packages<br/>
'''yum list installed'''<br/>
List all installed packages<br/>
'''yum list all'''<br/>
List installed and available packages<br/>
'''yum list kernel'''<br/>
List installed and available kernel packages<br/>
|-
| info
| ''Display information about a package''
'''yum info vsftpd'''<br/>
List info about vsftpd package<br/>
|-
| deplist
| ''Display dependencies for a package''
'''yum deplist nfs-utils'''<br/>
List dependencies and packages providing them<br/>
|-
| provides
| ''Find packages that provide the queried file''
'''yum provides “*bin/top”'''<br/>
Show package that contains top command<br/>
'''yum provides “*/README.top”'''<br/>
Show package containing README.top file<br/>
|-
| search
| ''Search package names and descriptions for a term''
'''yum search samba'''<br/>
Find packages with samba in name or description<br/>
|-
| updateinfo
| ''Get information about available package updates''
'''yum updateinfo security'''<br/>
Get info on available security updates<br/>
|-
| updateinfo
|
|-
| updateinfo
|
|-
| updateinfo
|
|-
! colspan="2"| INSTALL, REMOVE AND UPGRADE PACKAGES WITH YUM
|-
|
|
|-
|
|
|-
! colspan="2"| TROUBLESHOOT AND MAINTAIN YUM
|-
|
|
|-
|
|
|-
! colspan="2"| MANAGE YUM REPOSITORIES
|-
|
|
|-
|
|
|-
! colspan="2"| MANAGE LANGUAGE PACKAGES WITH YUM
|-
|
|
|-
|
|
|-
! colspan="2"| POPULAR OPTIONS FOR DIFFERENT YUM COMMANDS **
|-
|
|
|-
|
|
|-
! colspan="2"| MORE YUM-RELATED COMMANDS (install the yum-utils package)
|-
|
|
|-
|
|
|}

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)