软件包仓库源
将yum源放在/etc/yum.repo.d
root@cfm880 Packages]# cd /etc/yum.repos.d/
[root@cfm880 yum.repos.d]# ls
packagekit-media.repo rhel-source.repo
用第三方仓库源
rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i686.rpm
[root@cfm880 yum.repos.d]# ls
mirrors-rpmforge mirrors-rpmforge-extras mirrors-rpmforge-testing packagekit-media.repo
1. yum list 查看仓库中软件
[root@cfm880 yum.repos.d]# yum list | grep tftp
Unable to read consumer identity
tftp-server.i686 0.49-7.el6 installed
atftp.i686 0.7-6.el6.rf rpmforge
atftp-server.i686 0.7-6.el6.rf rpmforge
2. yum install 包名 安装软件
3. yum remove 包名 卸载软件