Install GraphLab and nimfa on Ubuntu

Source: Internet
Author: User
Tags mercurial
Ubuntu12.04-64bitonvmwareplayer first apt-getupdateUbuntuSoftwareSources & gt; ChooseaDownloadServer & gt; SelectBestServer select download server sudoapt-getupdate encountered error "Couldnotgetlock/var/lib/

Ubuntu 12.04-64bit on vmware player

Install nimfa

First apt-get update
Ubuntu Software Sources> Choose a Download Server> Select Best Server Select Download Server
Sudo apt-get update
Error "cocould not get lock/var/lib/apt/lists/lock"
Sudo rm/var/lib/apt/lists/lock
Execute sudo apt-get update again

Install numpy and scipy
Sudo apt-get install python-numpy python-scipy

Install nimfa
Git clone git: // github.com/marinkaz/MF.git

Install libboost

First update
Sudo apt-get update
Error "cocould not get lock/var/lib/apt/lists/lock"
Sudo rm/var/lib/apt/lists/lock
Execute sudo apt-get update again

Sudo apt-get install zlib1g-dev libbz2-dev
Sudo apt-get install build-essential
Sudo apt-get install libboost1.46-all-dev (note this for the version)

Install itpp
Sudo apt-get install libitpp-dev libitpp7-dbg

Install mercurial (SCM)
Sudo apt-get install mercurial

Install cmake (cross platform make)
Sudo apt-get install cmake

Install graphlab v2 from mecurial
Hg clone https://code.google.com/p/graphlabapi/
Hg pull
Hg update

Configure and Compile

Cd graphlabapi
Hg pull
Hg update v2
Export BOOST_ROOT =/usr/
./Configure
Cd release/
Make-j4

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.