Recently I am spending more and more time giving supports to people who are installing Graphlab on ubuntu. Installation should be rather simple. The directions below are for Ubuntu Natty (11.04)
0) Login into your ubuntu machine (64 bit).
On amazon EC2 - you can launch instance AMI-e9965180
1) Installing libboost
sudo apt-get update
sudo apt-get install zlib1g-dev libbz2-dev
sudo apt-get install build-essential
sudo apt-get install libboost1.42-all-dev
2) Install Git
sudo apt-get install git
3) Install cmake
sudo apt-get install cmake
4) Install Java+openmpi
5) Install graphlab from git
Go to graphlab download page, and follow the download link to the mercurial repository.
copy the command string: "git clone..." and execute it in your ubuntu shell.
Note: After you cloned the repository and you would like to get up to date,
you can issue the commands:
git pull
Note: After you cloned the repository and you would like to get up to date,
you can issue the commands:
git pull
6) configure and compile - for GraphLab version 2.1
cd graphlab
./configure
cd release/toolkits/collaborative_filtering/ # for example, if you want to compile the cf toolkit
make -j4
cd release/toolkits/collaborative_filtering/ # for example, if you want to compile the cf toolkit
make -j4
7) Optional: install Octave.
If you don't have access to Matlab, Octave is an open source replacement. Octave is useful for preparing input formats to GraphLab's collaborative filtering library and reading the output.
You can install Octave using the command:
sudo apt-get install octave3.2
Let me know how it went!
Note: from Clive Cox, RummbleLabs.com : For Ubuntu Lucid add the following:
sudo add-apt-repository ppa:lucid-bleed/ppa sudo apt-get update
Thanks to Yifu Diao, for his great comments!