Difference between revisions of "Epel centos"
(2 intermediate revisions by one other user not shown) | |||
Line 9: | Line 9: | ||
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm | ||
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm | rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm | ||
+ | or | ||
+ | rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | ||
Enable the remi repository<br/> | Enable the remi repository<br/> | ||
Open the file ''/etc/yum.repos.d/remi.repo'' and set enable=1 in remi section of the file. | Open the file ''/etc/yum.repos.d/remi.repo'' and set enable=1 in remi section of the file. | ||
Line 19: | Line 21: | ||
failovermethod=priority | failovermethod=priority | ||
− | More info you can find http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x | + | More info you can find [http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x here] |
That's it. | That's it. | ||
− | + | [[Category:Linux]] |
Latest revision as of 00:07, 24 November 2013
Some packages are missing from the base repository. This guide shows how to install RHEL EPEL repo on Centos 6 and 5.
Centos 5.x
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
Centos 6.x
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
or
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Enable the remi repository
Open the file /etc/yum.repos.d/remi.repo and set enable=1 in remi section of the file.
name=Les RPM de remi pour Enterprise Linux $releasever - $basearch #baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi failovermethod=priority
More info you can find here
That's it.