Created
March 31, 2016 22:28
-
-
Save darcyliu/1835d861f78b2893ac1134280ab78c5f to your computer and use it in GitHub Desktop.
Install mlpack on OSX 10.11 (EI Capitan)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install mlpack on OSX 10.11 (EI Capitan) | |
curl -O http://tenet.dl.sourceforge.net/project/arma/armadillo-6.500.5.tar.gz | |
tar zxvf armadillo-6.500.5.tar.gz | |
cd armadillo-6.500.5 | |
./configure | |
make | |
make install | |
cd .. | |
curl -O http://netcologne.dl.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz | |
tar zxvf boost_1_60_0.tar.gz | |
cd boost_1_60_0 | |
sh bootstrap.sh | |
./b2 | |
./b2 install | |
cd .. | |
git clone https://github.com/mlpack/mlpack | |
cd mlpack | |
mkdir build | |
cd build | |
cmake .. | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very helpful, thank you so much