2015-06-25 15:20:38
来 源
中存储网
Ubuntu
Ubuntu 12.04 - 64bit on vmware player 安装nimfa 第一次apt-get update Ubuntu Software SourcesChoose a Download ServerSelect Best Server选择下载伺服器 sudo apt-get update 遇到错误 Could not get lock /var/lib/apt/lists/lock sudo rm /var/lib/a

Ubuntu 12.04 - 64bit on vmware player

安装nimfa

第一次apt-get update
Ubuntu Software Sources>Choose a Download Server>Select Best Server选择下载伺服器
sudo apt-get update
遇到错误 "Could not get lock /var/lib/apt/lists/lock"
sudo rm /var/lib/apt/lists/lock
重新执行sudo apt-get update

安装numpy, scipy
sudo apt-get install python-numpy python-scipy

安装nimfa
git clone git://github.com/marinkaz/MF.git

安装libboost

第一次update
sudo apt-get update
遇到错误 "Could not get lock /var/lib/apt/lists/lock"
sudo rm /var/lib/apt/lists/lock
重新执行sudo apt-get update

sudo apt-get install zlib1g-dev libbz2-dev
sudo apt-get install build-essential
sudo apt-get install libboost1.46-all-dev (版本自己注意一下)

安装itpp
sudo apt-get install libitpp-dev libitpp7-dbg

安装mercurial (SCM)
sudo apt-get install mercurial

安装cmake (cross platform make)
sudo apt-get install cmake

安装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

声明: 此文观点不代表本站立场;转载须要保留原文链接;版权疑问请联系我们。