How to add remi repositories

| May 21, 2011 | 0 Comments

Add repositories on redhat servers

cd /etc/yum.repos.d/
vi remi.repo

add the following lines

[remi]
name=Les RPM de remi pour Enterpise Linux $releasever – $basearch
baseurl=http://remi.collet.free.fr/rpms/el$releasever.$basearch/
#http://iut-info.univ-reims.fr/remirpms/el$releasever.$basearch/
enabled=0
gpgcheck=1
gpgkey=http://remi.collet.free.fr/RPM-GPG-KEY-remi

[remi-test]
name=Les RPM de remi en test pour Enterpise Linux $releasever – $basearch
baseurl=http://remi.collet.free.fr/rpms/test-el$releasever.$basearch/
#http://iut-info.univ-reims.fr/remirpms/test-el$releasever.$basearch/
enabled=0
gpgcheck=1
gpgkey=http://remi.collet.free.fr/RPM-GPG-KEY-remi

write quit then do
yum check-update

Now a new repository called remi will be added to yum.

Tags: ,

Category: Linux Administration

Leave a Reply

You must be logged in to post a comment.