Skip to content

Instantly share code, notes, and snippets.

@anishsheela
Created February 3, 2016 11:28
Show Gist options
  • Save anishsheela/9d09e1597399fe1eda79 to your computer and use it in GitHub Desktop.
Save anishsheela/9d09e1597399fe1eda79 to your computer and use it in GitHub Desktop.
Varnam Project Install Script for ubuntu & debian (without corpus)
#!/bin/bash
sudo apt-get -y install ruby1.9.3 cmake build-essential ruby-ffi curl libibus-1.0-dev libcurl4-openssl-dev libgtk-3-dev
cd ~
mkdir varnam
cd varnam
wget http://download.savannah.gnu.org/releases/varnamproject/libvarnam/source/libvarnam-3.2.5.tar.gz
tar -xvf libvarnam-3.2.5.tar.gz
cd libvarnam-3.2.5
cmake .
make
sudo make install
varnamc
cd ..
wget https://github.com/varnamproject/libvarnam-ibus/archive/master.zip
unzip master.zip
cd libvarnam-ibus-master
cmake .
make
sudo make install
ibus restart
cd ~
sudo rm -Rf ~/varnam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment