CentOS/Redhat YUM repositories

23 January 2011 21:05

There’s a bunch of stuff that you can’t always find in the standard CentOS/Redhat repositories. The main repositories I’ve used are EPEL, IUS, REMI and in a specific case Cloudera’s. I used the Cloudera one for flume, but, it’s a quick way to get it installed and the various Hadoop odd’s and end’s. The IUS one is good for MySQL 5.1 and Percona builds, also Git 1.7. The EPEL repo has stuff like Redis and also other newer versions.

If you don’t want to use one you can alias commands to use repos, so, for instance if you have a CentOS build with all the above install you’d get output from yum repolist something like this:

addons        CentOS-5 - Addons
base          CentOS-5 - Base
cloudera-cdh3 Cloudera's Distribution for Hadoop, Version 3
epel          Extra Packages for Enterprise Linux 5 - i386
extras        CentOS-5 - Extras
ius           IUS Community Packages for Enterprise Linux 5 - i38 enabled
updates       CentOS-5 - Updates

If you want to install/search from a specific repo you can either disable them all in the /etc/yum.repos.d/*.repo files and then enable them when you run yum, or, you can leave them all enabled and disable them one by one. Something like this:

alias yum-ius='yum --disablerepo=addons,base,epel,extras,updates,cloudera-cdh3'
alias yum-cloudera='yum --disablerepo=addons,base,epel,extras,updates,ius'
alias yum-epel='yum --disablerepo=addons,base,extras,updates,ius,cloudera-cdh3'

Filed: Technology // Tagged: , , ,

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a comment or leave a trackback from your own site.

One Response to “CentOS/Redhat YUM repositories”

  1. Ian Winter » Blog Archive » A yummy replacement on September 14th, 2011 at 11:15 pm

    [...] and you’re done! Same goes with php to php53. This does of course assume you’ve already installed the EPEL and IUS channels to get this packages [...]

Leave a Reply

 
What's ianteresting?   •   Twitter   •   About   •   Contact
©2012 Ian Winter. All Rights Reserved.   •   Powered by WordPress   •   Hosted at Memset