Tag: CentOS5/外部リポジトリの追加
yum -y install yum-priorities
[base], [addons], [updates], [extras] ... priority=1 [centosplus] priority=1 (same priority as base and updates) but should be left disabled [contrib] ... priority=2 Third Party Repos ... priority=N (where N is > 10 and based on your preference)
# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
※最新版はAdditionalResources/Repositories/RPMForge - CentOS Wikiを見て確認可能。
# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
# rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
# rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
# yum install yum-priorities
enabled = 0