Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Install CDH5.0.0beta2 repository

avatar
Contributor

Hello,

 

I'm running CentOS 6.5 and trying to install the MapReduce Tools for use with Solr by executing the following:

 

yum install solr-mapreduce

 

How do I add the Cloudera packages repository to my OS, so I can install any packages with Yum? Thanks in advance!

 

 

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Based on the operating system you use, navigate to the repo file for your system and save it in the/etc/yum.repos.d/directory.

 

For Red Hat/CentOS/Oracle 5 (add the below lines in /etc/yum.repos.d/cloudera-cdh5)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 5 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/RPM-GPG-KEY-cloudera 
gpgcheck = 1

For Red Hat/CentOS/Oracle 6 (64-bit)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat	or CentOS 6 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera    
gpgcheck = 1

 

After doing this, you can now see the packages listed in yum list cloudera*

 

Hope this helps.

 

Em Jay

View solution in original post

1 REPLY 1

avatar
Expert Contributor

Based on the operating system you use, navigate to the repo file for your system and save it in the/etc/yum.repos.d/directory.

 

For Red Hat/CentOS/Oracle 5 (add the below lines in /etc/yum.repos.d/cloudera-cdh5)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 5 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/5/x86_64/cdh/RPM-GPG-KEY-cloudera 
gpgcheck = 1

For Red Hat/CentOS/Oracle 6 (64-bit)

 

[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat	or CentOS 6 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5/
gpgkey = http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera    
gpgcheck = 1

 

After doing this, you can now see the packages listed in yum list cloudera*

 

Hope this helps.

 

Em Jay