Tuesday, September 24

How to install EPEL Repository on Linux RHEL/CentOS 5.x&6.x

         
EPEL :
           

               EPEL stands for Extra Packages for Enterprise Linux. It is developed by Fedora Project,  as part of the Fedora packaging community, EPEL packages are 100% free. EPEL Repository   is used for downloading packages using YUM (Yellowdog Updater Modified) Command. It is working on all Linux paltforms like RHEL, CentOS, Scientific Linux ,etc..

 


Note:Use This Link   Install & Enable RPMforge Repository 

 Features :

 *  Installed Third Party Packages using EPEL Repository.

 *  EPEL is Open Source and 100% free Packages.

 *  It is provide high quality packages for RHEL and compatible derivatives such as CentOS and Scientific Linux.


 If you enable EPEL Repository, you can install nagios, wine or any other open source third party softwares using yum command.


The following yum command displays all the repositories available on your system.
 

 #yum repolist

            



See above it has 3 repositories are there base, extras and updates. In this Machine EPEL is not enabled.

Enable EPEL Repository in RHEL/CentOS 5&6:

   First Download the EPEL package using wget command, then after install it using RPM

For RHEL/CentOS 5 :

32 bit Operating System
#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


64 bit Operating System
#wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
#rpm -ivh epel-release-5-4.noarch.rpm


For RHEL/CentOS 6 :

32 bit Operating System
#wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
#rpm -ivh epel-release-6-8.noarch.rpm


64 bit Operating System
#wget wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
#rpm -ivh epel-release-6-8.noarch.rpm



"EPEL Repository Configuration file located under /etc/yum.repos.d/ directory."
 


Verify EPEL Repository :
 
  Verify that the EPEL repository is enabled as shown below

    #yum repolist

    



Install many no of open source packages using EPEL Repository, For example see the information of wine software using yum command , It will show the following information.This Package is from EPEL Repository.


       # yum info wine
            


3 comments:

:: Linux - Legends ::