How to install Mahout on Mac OS X (v10.9 Mavericks)?

Well it could be so simple or extremely complicated. Since there are dependencies and required sets for PATH, sometimes people may lose control and mix up the things.

If you want to install Mahout on your Mac hassle free like I did (I installed it on Mac OS X 10.9.4 in other name Mavericks) then you should follow the 4 simple steps below.

STEP 1
Mahout need Java and Maven to run, optionally you can install Hadoop as well. I guess you already have Java on your Mac so I skip this part. Congrats you are doing pretty good. 😉

STEP 2
Install Homebrew – the missing package manager for your OS X www
open a terminal copy the line below and paste it into the terminal prompt:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

if you have all clean it will show you a beer mug like this one otherwise follow this link.

STEP 3
Requirement of Step 3 is Step 2 😉 I think you got it, wonderful.
Install Maven
I believe the terminal is still open so copy the line below and paste it into the terminal prompt:
brew install maven

STEP 4
Install Mahout
brew install mahout

Congratulations! You’ve succesfully installed Mahout on your Mac.

– If you find the steps above hard to follow or understand here is a compact version.

Step 1: Install Java
Step 2: Install Homebrew: run ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" in the terminal
Step 3: Install Maven: run brew install maven in the terminal
Step 4: Install Mahout: run brew install mahout in the terminal

Congratulations!

One Reply to “How to install Mahout on Mac OS X (v10.9 Mavericks)?”

Leave a Reply

Your email address will not be published. Required fields are marked *