What is RPMforge and DAG ? RPMforge is one of the participating repositories in the rpmrepo project DAG is a mirror of the RPM repositories provided The Red Hat Enterprise Linux group and maintained by Dag Wieers as part of the RPMforge project. The RPMforge collaboration repackages many RPMs that are not included as part of the stock Linux distributions, including versions of many packages still in testing. Here is the steps to setup : Installing RPMFOrge
- Adding RPMforge Repository :
# yum -y install yum-priorities
- Download and install rpmforge :
# wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
# rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm
# rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
Installing DAG
- First we need to Install Dag’s GPG Key, you need to download it first from http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt or http://dag.linux.iastate.edu/dag/RPM-GPG-KEY.dag.txt
# wget http://dag.linux.iastate.edu/dag/RPM-GPG-KEY.dag.txt
2. Once you have downloaded the key, import it into your keyring with the command
# rpm --import RPM-GPG-KEY.dag.txt 3. Configuring yum To Use This Repository, you can do it by either create the file /etc/yum.repos.d /dag.repo or add the DAG to /etc/yum.repos.d/CentOS-Base.repo
# vi /etc/yum.repos.d/CentOS-Base.repo
add this line on the bottom :
[dag] name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://dag.linux.iastate.edu/dag/redhat/el5/en/$basearch/dag
gpgcheck=1
enabled=1
Now you can run yum to see the repository works or not. You should see this line on your yum
#yum update
Setting up Update Process Setting up repositories
dag 100% |=========================| 1.1 kB 00:00
c4-testing 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
kbs-CentOS-Extras 100% |=========================| 951 B 00:00
centosplus 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00