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.

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. 😉

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"

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

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

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" 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


Categorized as Blog

1 comment

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.