General Information

Installing extra software via 3rd party software repositories.


  • Distro(s): Enterprise Linux


Extra Packages for Enterprise Linux is maintained by the Fedora project.

Official site:

EL 6 and 7

yum install epel-release

Install the RPM directly from Fedora.

EL 7

yum install

EL 6

yum install


A community project to create a repository for Enterprise Linux packages. It focuses on hardware related packages to include file system drivers, graphics drivers, network drivers, sound drivers, webcam, and video drivers.

Official Site:

Import the GPG key

rpm --import


rpm -Uvh


rpm -Uvh

Software Collections

Software Collections is a project to package newer versions of software that will not conflict with system packages.

Official Site:

To add the software collections repo (available via “extras” repo)

  • CentOS 6/7
    yum install centos-release-scl

Example: Python 3.3

  • Install
    yum install python33
  • System version
    [root@server1 ~]# python --version
    Python 2.7.5
  • SCL Version
    [root@server1 ~]# scl enable python33 bash
    [root@server1 ~]# python --version
    Python 3.3.2

RPM Pbone

Find many different RPMs on:

Oracle Public Repos

If you are supporting Oracle Linux, the official repos are here:

Custom Repo

You can create a custom repository to serve up your own RPMs or a mirrored copy of a repo.

  1. Install Apache Web Server and Create Repo packages
    yum install httpd createrepo
  2. Start and enable the web server
    1. EL 6
      service httpd start
      chkconfig httpd on
    2. EL 7
      systemctl start httpd
      systemctl enable httpd
  3. Create the directory structure
    mkdir -p /var/www/html/repos/mycustom
  4. Copy your RPMs to the directory
    rsync -avhP *.rpm /var/www/html/repos/mycustom/
  5. Create the repo data
    createrepo -v /var/www/html/repos/mycustom
    1. For future package updates/additions, run the createrepo command with the “–update” option in order to only update metadata for packages that have changed
      createrepo -v --update /var/www/html/repos/mycustom

On clients that will use the repo:

  1. Create a repo file
    vim /etc/yum.repos.d/mycustomrepo.repo
    name=My Custom Repo
  2. Cleanup yum
    yum clean all
  3. List repos
    yum repolist
  4. Install a package from the repo to test
    yum install <package-name>

  • linux_wiki/repos.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)