YUM到底是啥东东?
YUM(Yellowdog Updater Modified)是一款开源命令行及图形化软件包管理工具,面向基于RPM(红帽软件包管理器)的Linux系统。它让广大用户和系统管理员可以在系统上轻松地安装、更新、移除或搜索软件包。它由Seth Vidal开发和发布,采用了GPL(通用公共许可证),是一款开源工具。这意味着,谁都可以下载和访问代码,以修复软件错误,开发定制的软件包。YUM通过解决软件包的依赖项问题,使用众多的第三方软件库来自动安装软件包。
1. 使用Yum安装软件包
想安装一个名为Firefox 14的软件包,只要运行下面这个命令,它会自动寻找并安装Firefox浏览器的所有必要依赖项。
- #?yum?install?firefox?
- Loaded?plugins:?fastestmirror?
- Dependencies?Resolved?
- ====================================?Package????????????????????Arch????????Version????????????????????Repository????????????Size?
- ====================================
- Updating:?
- firefox????????????????????????i686????????10.0.6-1.el6.centos?????updates?????????????20?M?
- Updating?for?dependencies:?
- xulrunner?????????????????????i686????????10.0.6-1.el6.centos?????updates?????????????12?M?
- Transaction?Summary?
- ===========================================Install???????0?Package(s)?
- Upgrade???????2?Package(s)?