How to enable EPEL repo, If you want to add EPEL (Extra Package)Repository to your system, So just simply download the repo from the link below. we install and configure EPEL Repository in RHEL Centos 7 as well in all Linux distro.so
How To Enable EPEL Release Repository:
EPEL keeps lots of extra packages that are not available in default RedHat repository. This keeps almost 27200 extra packages to install and it downloads the packages from the official site of fedora.
You can directly install this repo in Centos using the single command yum install epel-release
You can also download the rpm package using the below command.
Install Epel packages so
rpm -ivh epel-release-6-8.noarch.rpm
you can Check all repositories using yum repolist
Check Packages and enable repo. so
yum –enablerepo=epel info ansible
Now you can install Ansible if it asks you for dependencies then check out here. so
yum –enablerepo=epel install ansible -y
You’re done configure epel repository rhel install epel repository linux epel repository centos 7 enable epel repo