On RHEL 6 I seem to have the EPEL repository installed but it does not appear in yum
.
I tested that I have EPEL installed by installing it again from the downloaded rpm:
rpm -ivh epel-release-6-8.noarch.rpm
This gives me the message: package epel-release-6-8.noarch is already installed
When I list all repositories available to yum via the command
yum repolist
however, I do not get EPEL in the output. Also when I search for packages provided by EPEl, they are not found (
aspell
dictionaries for example)I tried to enable EPEL explicitly via the command-line switch
--enablerepo=epel
, but that returns a repository not found error.
So, how can I install, enable or 'activate' the EPEL repository for use with yum
?
rpm -e epel-release-6-8.noarch.rpm
I get "error: package epel-release-6-8.noarch.rpm is not installed".yum install force epel-release-6-8.noarch.rpm
returns the messageepel-release-6-8.noarch.rpm: does not update installed package. Error: Nothing to do
reinstall
command (with epel-release-6-8.noarch.rpm) does the trick! Do you write it up as an answer, please?