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'