X

Oracle Linux, virtualization , Enterprise and Cloud Management Cloud technology musings

  • March 26, 2012

Using EPEL repos with Oracle Linux

Updated 2/13/2018

Back in 2012 I wrote the article below, see Original content:

While that is still certainly possible today, we have, since, made our own EPEL mirror available as part of our Oracle Linux yum repos.

You no longer have to install the EPEL repo file and point to an external site. We have ol7_developer_EPEL on yum.oracle.com

[ol7_developer_EPEL]
name=Oracle Linux $releasever Developement Packages ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

For new installations, a new OL7 install contains the above repo section already but it's disabled by default so you have to set enabled=1.

You can always get the latest repo file for OL7 directly from here. Or an overview of the files here.

 

Original content:

 

There's a Fedora project called EPEL which hosts a set of additional packages that can be installed on top of various distributions such as Red Hat Enterprise Linux, CentOS, Scientific Linux and of course also Oracle Linux. These packages are not distributed by the distribution vendor and as such also not supported by the vendors (including Oracle) however for users that want to pick up some extras that are useful, it's very easy to do this.

All you need to do is download the EPEL RPM from the website, install it on Oracle Linux 5 or Oracle Linux 6 and run yum install or yum search to get the packages.

 

example : 
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
# rpm -ivh epel-release-6-5.noarch.rpm
# yum repolist
Loaded plugins: refresh-packagekit, rhnplugin
repo id                repo name                                          status
epel                   Extra Packages for Enterprise Linux 6 - x86_64      7,124

The folks that build these repositories are doing a great job at adding very useful packages. They are free, but also unsupported of course.

 

Join the discussion

Comments ( 1 )
  • Eduardo Capistrán Del Angel Thursday, February 15, 2018
    The original article say that the EPEL packages are not supported by Oracle Linux. Now that oracle provides an EPEL repo is there still no support on those?

    Example:
    [localhost]$ rpm -qi ansible | egrep -i "vendor|host"
    Build Host : x86-ol6-builder-06.us.oracle.com
    Vendor : Oracle America
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.