EPEL (Extra Packages for Enterprise Linux)


EPEL is open source and free community based package repository project from Fedora team for Linux distribution including:

  • RHEL (Red Hat Enterprise Linux),
  • CentOS,
  • and Scientific Linux.


With the rpm

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
rpm -ivh epel-release-latest-7.noarch.rpm
# the epel repo must be now available
yum repolist

With ansible

- name: Add the EPEL repository
    become: yes
      name: epel
      description: EPEL YUM repo
      baseurl: https://dl.fedoraproject.org/pub/epel/$releasever/$basearch/
      gpgcheck: yes
  • Add the Key
  - name: "Adds the gpg key from the EPEL repo"
    become: yes
      state: present
      key: https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
  - name: "Install Jq"
    become: yes
      name: jq
      enablerepo: epel
      state: present

Documentation / Reference

Powered by ComboStrap