How to Install EPEL Repository on CentOS
1. Installing EPEL Repository
Install EPEL Repository On 32-bit CentOS Linux 5.5:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Install EPEL Repository On 64-bit CentOS Linux 5.5:
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Sample Output:
[root@gembul ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Preparing… ########################################### [100%]
1:epel-release ########################################### [100%]
2. Check and updating your repository list, make sure the epel.repo has been installed
# yum update
# yum repolist
Sample Output:
Loading “skip-broken” plugin
Loading “fastestmirror” plugin
repo id repo name status
addons CentOS-5 – Addons enabled
base CentOS-5 – Base enabled
epel Extra Packages for Enterprise Linux 5 - enabled
extras CentOS-5 – Extras enabled
updates CentOS-5 – Updates enabled
3. Edit your epel.repo file configuration and the priority of yum repository configuration
# vi /etc/yum.repos.d/epel.repo
Sample Output :
[epel]
name=Extra Packages for Enterprise Linux 5 – $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 5 – $basearch – Debug #baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 5 – $basearch – Source #baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL gpgcheck=1
Done
It’s amazing to visit this web page and reading the views of all mates regarding this piece of writing, while I
am also eager of getting familiarity.
Llevo un par de horas buscando esto, menos mal que al final lo encontré porque hoy estaba
desesperada.
Muchas gracias por todo
Hi I am so grateful I found your blog, I really found you by error, while I was looking on Digg for something else, Anyways I am here now and would just like to say thanks for a tremendous post and a all round thrilling blog (I also
love the theme/design), I don’t have time to
go through it all at the moment but I have bookmarked it and also
included your RSS feeds, so when I have time I will be back to read more,
Please do keep up the excellent work.