Skip to content

Instantly share code, notes, and snippets.

@pcolazurdo
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcolazurdo/3eeb43be2505c9318162 to your computer and use it in GitHub Desktop.
Save pcolazurdo/3eeb43be2505c9318162 to your computer and use it in GitHub Desktop.
Installing MeTA on Ubuntu 14.04
# 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