YUM(Yellowdog更新,修改)是一个基于RPM的Linux系统的命令行包管理工具,它已经在GNU下发通用公共许可证。Yum是具有相关性,Yum搜索所有可用库的任何RPM的所有依赖包。 下面的列表包含与安装环节,这是我们需要保持我们的系统是最新的最新的与基于包RHEL系统前5名的yum库(RPMForge软件,EPEL,REMI,ATrpms,Webtatic)。有大多数服务器所需的RPM这些存储库。
1.添加RPMForge软件库
使用下面的命令来在你的CentOS / RHEL 7/6/5系统上安装rpmforce库。
CentOS/RHEL 7 x86 64bit:
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
CentOS/RHEL 6 x86 64bit:
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
CentOS/RHEL 6 x86 32bit:
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
CentOS/RHEL 5 x86 64bit:
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
CentOS/RHEL 5 x86 32bit:
# rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
2.添加EPEL库
使用下面的命令来在你的CentOS / RHEL 7/6/5系统上安装EPEL yum软件库。
CentOS/RHEL 7
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
CentOS/RHEL 6
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
CentOS/RHEL 5
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
3.添加REMI库
使用下面的命令来在你的CentOS / RHEL 7/6/5和Fedora 21/20系统上安装REMI yum软件库。
CentOS/RHEL 7
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
CentOS/RHEL 6
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
CentOS/RHEL 5
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
Fedora 24
# rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-24.rpm
Fedora 23
# rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-23.rpm
Fedora 22
# rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-22.rpm
4.添加ATrpms库
使用下面的命令来在你的CentOS / RHEL 7/6/5和Fedora 20/19系统上安装ATrpms yum软件库。
CentOS/RHEL 7 x86 64bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-7-7.el7.x86_64.rpm
CentOS/RHEL 6 x86 64bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm
CentOS/RHEL 6 x86 32bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-6-7.el6.i686.rpm
CentOS/RHEL 5 x86 64bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-5-7.el5.x86_64.rpm
CentOS/RHEL 5 x86 32bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-5-7.el5.i386.rpm
Fedora 20 x86 64bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-20-7.fc20.x86_64.rpm
Fedora 20 x86 32bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-20-7.fc20.i686.rpm
Fedora 19 x86 64bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-19-7.fc19.x86_64.rpm
Fedora 19 x86 32bit:
# rpm -Uvh http://dl.atrpms.net/all/atrpms-repo-19-7.fc19.i686.rpm
5.添加Webtatic库
使用下面的命令来在你的CentOS / RHEL 7/6/5系统上安装REMI yum软件库。
CentOS/RHEL 7:
# rpm -Uvh http://repo.webtatic.com/yum/el7/webtatic-release.rpm
CentOS/RHEL 6:
# rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm
CentOS/RHEL 5:
# rpm -Uvh http://repo.webtatic.com/yum/el5/latest.rpm
感谢您阅读这篇文章。阅读
下一篇文章设置你的CentOS / RHEL系统上保留的包是最新的。