A bit of a new guy around these parts... I've done a bit of looking, and haven't found any newbie-friendly instructions on how to add the Dag repository to my CentOS4 box. Could somebody help me out and point me in the right direction? Thanks... -- --- David Woyciesjes
On Fri, 2007-01-05 at 15:10 -0500, David A. Woyciesjes wrote:> A bit of a new guy around these parts... > > I've done a bit of looking, and haven't found any newbie-friendly > instructions on how to add the Dag repository to my CentOS4 box. Could > somebody help me out and point me in the right direction? Thanks... >Have searched on the wiki ? : http://wiki.centos.org/Repositories/RPMForge -- Fabian Arrotin <fabian.arrotin at arrfab.net>
David A. Woyciesjes musste am 05.01.2007 21:10 dies kund tun:> A bit of a new guy around these parts... > > I've done a bit of looking, and haven't found any newbie-friendly > instructions on how to add the Dag repository to my CentOS4 box. Could > somebody help me out and point me in the right direction? Thanks...Download http://apt.sw.be/redhat/el4/en/i386/RPMS.dag/rpmforge-release-0.2-2.2.el4.rf.i386.rpm and install it. If you would like to enable rpmforge you should set enable to 1 in /etc/yum.repos.d/rpmforge.repo. Dags Repo is part of rpmforge. Greets Ren? -- GEEKCODE: GIT$ d- s+: a- C+++ UL++++$ P+ L++ E--- W+++ N+ !o K- w+ O- M-- V- PS+ PE Y+ PGP++ t++ 5++ X+ R tv+ b DI D++ G e+ h--- r++ y+++ PGP-Key and more available at http://www.standfest.net My Blog is at http://www.gaudidiecher.de
David, I've done a very dirty script that add most famous third CentOS' 
repos:
----------------
# Add third part repositories for x86 arquitectures.
# Jordi Espasa Clofent.
#!/bin/bash
# check root id
if [ `id -u` != "0" ]; then
    echo "Sorry, you are not root."
    exit 1
fi
# add Karanbar Singh's repositories
/usr/bin/wget http://centos.karan.org/kbsingh-CentOS-Extras.repo -P 
/etc/yum.repos.d/
/usr/bin/wget http://centos.karan.org/kbsingh-CentOS-Misc.repo -P 
/etc/yum.repos.d/
# add Dag's repository.
/usr/bin/wget 
http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.4-1.el4.rf.i386.rpm
-0 /var/dag.rpm
/bin/rpm -Uhv /var/dag.rpm
/bin/rm /var/dag.rpm
# add Dries' repository
# There are several options. Uncomment correct option according your 
interests.
/bin/echo  -e [Dries]\\nname=Extra Fedora rpms dries - \$releasever - 
\$basearch\\nbaseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
 > /etc/yum.repos.d/dries.repo
# install fastestmirror plugin to improve yum performance
/bin/echo plugins=1 >> /etc/yum.conf
yum -y install yum-plugin-fastestmirror
exit 0
--------------------
Feel free to modify and adapt for your needs. I hope it will be useful.
PD. Note is for x86 boxes.