CentOS 5
Sponsored Link

Add Repositories
2015/01/13
[1] Add the EPEL Repository which is specially provided from Fedora project.
[root@dlp ~]#
yum -y install epel-release
# turn to "enabled=0" and use only when it needs

[root@dlp ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/epel.repo
# when you use EPEL, input the command like follows

[root@dlp ~]#
yum --enablerepo=epel install [パッケージ名]

[2] Add the RPMforge Repository which provides many useful packages.
[root@dlp ~]#
wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-5

[root@dlp ~]#
rpm --import RPM-GPG-KEY-EPEL-5

[root@dlp ~]#
rm -f RPM-GPG-KEY-EPEL-5

[root@dlp ~]#
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

[root@dlp ~]#
rpm -Uvh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]

# turn to "enabled=0" and use only when it needs

[root@dlp ~]#
sed -i -e "s/enabled = 1/enabled = 0/g" /etc/yum.repos.d/rpmforge.repo
# when you use EPEL, input the command like follows

[root@dlp ~]#
yum --enablerepo=rpmforge install [パッケージ名]

Matched Content
 
Tweet