“『YUM COMMAND CHEAT SHEET』”的版本间差异
		
		
		
		
		
		跳到导航
		跳到搜索
		
				
		
		
	
无编辑摘要  | 
				|||
| 第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  | 
| list | List package names from repositories
 yum list available  | 
| info | Display information about a package
 yum info vsftpd  | 
| deplist | Display dependencies for a package
 yum deplist nfs-utils  | 
| provides | Find packages that provide the queried file
 yum provides “*bin/top”  | 
| search | Search package names and descriptions for a term
 yum search samba  | 
| updateinfo | Get information about available package updates
 yum updateinfo security  | 
| 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) | |