Install MAHOUT in Ubuntu for Beginners

Chameerawijebandara's Blog

Prerequisites for Building MAHOUT

If you have already completed this requirement you can directly go and install mahout. Otherwise follow the below instruction to install java, maven 3, subversion and Mahout.

Install JAVA

You can find java installation tutorial here or follow the below instruction for install java.

1.  Go to Oracle Download page here.

2.  Accept the license.

3.  Select jdk-7u45-linux-i586.tar.gz for 64 bit OS and select  jdk-7u45-linux-x64.tar.gz for 32 bit OS.

4. Download the self extracting installer  file.


important :  As an example i have used  jdk-7u45-linux-x64.tar.gz. If you use 32 bit version please use the corresponding naming convention

5.  Open terminal ( Ctrl + Alt + T ).

6.  Go to the java Download directory.

 cd /home/chameera/Documents/share/  

7.  Copy  jdk-7u45-linux-x64.tar.gz  into /usr/local/lib/ directory.

 sudo cp jdk-7u45-linux-x64.gz /usr/local/lib/  

7.  Extract the .tar.gz file.

 sudo tar -xzvf jdk-7u45-linux-x64.gz  

8.  Go…

View original post 438 more words