script for install libDAI on Ubuntu

The following script downloads the source code of libDAI it, and installs it.

wget https://github.com/yesimon/libDAI/archive/master.zip -O libdai-master.zip
unzip libdai-master.zip
mkdir libdai-build
cd libdai-build
cmake ../libDAI-master
make -j4 2>&1 | tee ../../LibdaiMake.log
sudo make install 2>&1 | tee ../../LibdaiMakeInstall.log

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s