Difference between revisions of "Epel centos"

From vpsget wiki
Jump to: navigation, search
(Created page with "Some packages are missing from the base repository. This guide shows hot to install RHEL EPEL repo on Centos 6 and 5. Centos 5.x wget http://dl.fedoraproject.org/pub/epel/5/...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Some packages are missing from the base repository. This guide shows hot to install RHEL EPEL repo on Centos 6 and 5.
+
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
 
Centos 5.x
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 18: Line 20:
 
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
 
  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
 
  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 here]
  
 
That's it.
 
That's it.
  
"[[Category:Linux]]"
+
[[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.