[1] | Add RPMforge Repository for yum because that has many useful packages. |
[root@dlp ~]#
[root@dlp ~]#
wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm --import RPM-GPG-KEY.dag.txt
[root@dlp ~]#
rm -f RPM-GPG-KEY.dag.txt
[root@dlp ~]#
vi /etc/yum.repos.d/rpmforge.repo
# create new
[rpmforge]
name=RPMforge RPM repository for Red Hat Enterprise Linux baseurl=http://ftp.riken.jp/Linux/dag/redhat/el6/en/$basearch/rpmforge/ gpgcheck=1 enabled=0
# when you use the repository, input yum command like follows
[root@dlp ~]#
yum --enablerepo=rpmforge install [package]
|
[2] | Add repository EPEL that is provided from Fedora project. |
[root@dlp ~]#
[root@dlp ~]#
wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
rpm --import RPM-GPG-KEY-EPEL-6
[root@dlp ~]#
rm -f RPM-GPG-KEY-EPEL-6
[root@dlp ~]#
vi /etc/yum.repos.d/epel.repo
# create new
[epel]
name=EPEL RPM Repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/$basearch/
gpgcheck=1
enabled=0
name=EPEL RPM Repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/$basearch/
gpgcheck=1
enabled=0
# when you use the repository, input yum command like follows
[root@dlp ~]#
yum --enablerepo=epel install [package]
Post a Comment