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 🙂






awesome info.. its working ..great……..
[…] root user. We will install the RPM for EPEL now. These instructions are taken from a great weblog that you can find here. Follow […]
Gembul, the repository you use for an example is no longer there. I found your page looking for a valid repository of EPEL to add to my centos server.
however I did find one here:
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
I was able to install mod_security from that repositiory.
chris w.
hi chris.w,
thank you, I will update soon.
[…] adjustment finally working properly. do not using pam_mysql from rpm download here https://gembuls.wordpress.com/2011/02…ory-on-centos/ after installation n update remove pam_mysql –>rpm -e -check vsftpd.conf n vsftpd_user_conf/ […]
Thank YOU !
gracias por la informacio no hablo ingles pero entendi thank you
Thank you, this was helpful. I tried a few different sources but the destinations where out of date. Yours worked like a charm.
[…] to Connect locally to a VNC Service. Hopefully my instructions will help you. Special thanks to Gembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]
[…] what you should do. So with that in mind, hopefully my instructions will help you. Special thanks toGembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]
[…] note, that if you choose to install using yum, you need to configure EPEL repo [read how to do it here], or you will have to do local install. Here is command for yum […]
[…] you should do. So with that in mind, hopefully my instructions will help you. Special thanks to Gembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]
[…] http://www.rackspace.com/knowledge_c…entos-5x-or-6x https://gembuls.wordpress.com/2011/02…ory-on-centos/ […]
[…] For CentOS newbies, this might also be helpful: To install the EPEL package library on CentOs: How to Install EPEL Repository on CentOS […]
[…] with that in mind, hopefully these instructions will help you. Special thanks to Vernon Spangler, Gembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]
[…] with that in mind, hopefully these instructions will help you. Special thanks to Vernon Spangler, Gembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]
[…] with that in mind, hopefully these instructions will help you. Special thanks to Vernon Spangler, Gembul’s Weblog & IT Specialists Blog for giving me a guiding point in order to figure out what was […]