Last active
August 29, 2015 14:23
-
-
Save pcolazurdo/3eeb43be2505c9318162 to your computer and use it in GitHub Desktop.
Installing MeTA on Ubuntu 14.04
This file contains 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
# Installing MeTA for Coursera MooC - Text Mining and Analytics by ChengXiang Zhai from Illinois University | |
# this might take a while | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
# add the ppa for cmake | |
sudo add-apt-repository ppa:george-edison55/cmake-3.x | |
sudo apt-get update | |
# install dependencies | |
sudo apt-get install cmake libicu-dev git g++ | |
git clone https://github.com/meta-toolkit/meta.git | |
cd meta/ | |
git reset --hard v1.3.6 | |
# set up submodules | |
git submodule update --init --recursive | |
# set up a build directory | |
mkdir build && cd build && cp ../config.toml . | |
# configure and build the project | |
cmake ../ -DCMAKE_BUILD_TYPE=Release | |
make | |
# test to see if everything was fine | |
ctest --output-on-failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment