How to add more repositories to YUM

| May 15, 2011 | 0 Comments

Add yum repositories
Make your yum more robust by adding more repositories like DAG, UPDATE and RPMforge. For adding extra repositories to yum, please do the following.

cd /etc/yum.repos.d
vi dag.repo // the add the following lines in that file//

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

After this save this file and run the following command

yum check-update

Tags: , ,

Category: Tips for linux

Leave a Reply

You must be logged in to post a comment.