Useful yum repositories

By | January 22, 2014

yum repositoryYum is the easiest tool to find and install packages on Red Hat/CentOS. However, yum needs to know where to look for packages. Here is where repositories come into play.

Of course, you always need to make sure the repositories you use are trusted! Installing packages from untrusted source can be pretty nasty since you basically give the RPM root priviledge on your machine.

Here are some trusted yum repositories that you can use:

Epel

  • Red Hat 5 / CentOS 5

yum install http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

  • Red Hat 6 / CentOS 6

yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

RPMforge

Install the GPG key first:

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

  • Red Hat 5 / CentOS 5

i386: yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm
x86_64: yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

  • Red Hat 6 / CentOS 6

i686: yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
x86_64: yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Remi

  • Red Hat 5 / CentOS 5

yum install http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

  • Red Hat 6 / CentOS 6

yum http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

After installation, edit /etc/yum.repos.d/remi.repo and enable the repo:

vim /etc/yum.repos.d/remi.repo
# enabled=1

Webtatic

  • Red Hat 5 / CentOS 5

http://mirror.webtatic.com/yum/el5/latest.rpm

  • Red Hat 6 / CentOS 6

http://mirror.webtatic.com/yum/el6/latest.rpm

MySQL Community

  • Red Hat 5 / CentOS 5

http://dev.mysql.com/get/mysql-community-release-el5-5.noarch.rpm

  • Red Hat 6 / CentOS 6

http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.