Please refer to the below steps to install R and Mahout on Cent OS:

Update yum and install wget:

sudo yum update

sudo yum install wget

Installing R:

sudo rpm -Uvh

sudo yum -y install git wget R

To check R is installed correctly, give 


You will find the below image

To install Mahout:

sudo wget -O /etc/yum.repos.d/epel-apache-maven.repo


sudo yum install apache-maven



tar -xvf mahout-distribution-0.8-src.tar.gz



mv mahout-distribution-0.8.pom /path/to/mahout-distribution-0.8/


cd /path/to/mahout-distribution-0.8


mvn -DskipTests



You will find the below screen once Mahout is successfully installed.

Please feel free to revert if you need any further help