How to use a dag repository

This post will help you to add other repositories to the current repositories when you try to install applications using yum.


First you import the keys for the RPM Keys. This can be done by the following command:
rpm –import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
alternatively you could also download the key to your local directory and execute the following command
rpm –import RPM-GPG-KEY.dag.txt

To get yum working you will have to tell yum where to look for the files. This can be done by adding the following section to /etc/yum.conf or, when available /etc/yum.repos.d/dag.repo

[dag]
name=Dag RPM Repository for Fedora Core
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

Then all you need to do is give the yum command like
yum install xxx
yum update xxx

yum will look up dag.wieers.com repoistory too for the package
ciao.

Leave a Reply

Your email address will not be published. Required fields are marked *