Wednesday, 12 June 2013

Configure EPEL repo in RHEL, for RPM installation With YUM

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL),CentOS and Scientific Linux (SL). How do I enable it under CentOS 6 or RHLE 6 server?

If you are running an CentOS6/EL6 version, enter:

#  cd /tmp
wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
#  rpm -ivh epel-release-6-8.noarch.rpm

If you are running an CentOS5/EL5 version, enter:

#  cd /tmp
wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
#  rpm -ivh epel-release-5-4.noarch.rpm

Install epel*.rpm file using yum command

You can use the yum command instead of rpm command:
# yum install epel-release-6-8.noarch.rpm


Now it will automatically create all repo file in to yum directory.

#cd /etc/yum.repos.d
#ls

How do I list all enabled repos?

Type the following commands:
# yum repolist

#yum update


Now You can install any rpm via YUM , which is available in EPEL repo.

*********************   enjoy ******************************

2 comments:

  1. It is really interesting for me to read this article. Thanks for it. I like such topics and everything connected to them.

    6 Month php Industrial Training in Chandigarh
    6 weeks php industrial training in chandigarh

    ReplyDelete
  2. Your concepts about Linux were easy to understand. This information is definitely useful for everyone. Thanks for sharing this nice post.
    You can read more about linux training in india

    ReplyDelete