16 个常用的yum 命令
1. yum [-y] install package_name
2. yum remove package_name 卸载指定软件
3. yum check-update 检查更新
4. yum update [package_name] 更新
5. yum search [package_name] 搜索
6. yum info [package_name]
7. yum list 查看所有可见包 example:yum list | less
8. yum list installed 查看你自己系统中已经安装的包 example:yum list installed | less
9. yum grouplist 查看可见的 software group
10. yum groupinstall 安装指定的 software group
11. yum groupupdate 升级已存在的software group
12. yum groupremove 卸载 software group
13. yum repolist [all | enabled | disabled] 列出你当前的yum资源库
14. yum -enablerepo 从不可用的资源库安装软件包
15. yum shell 可执行多个yum命令 example: yum shell cmd.txt
16. yum provides <filename> 可以查看该文件属于哪个包
参考 http://songzj.iteye.com/blog/1920773