Skip to content

Instantly share code, notes, and snippets.

@hatajoe
Created March 14, 2016 14:27
Show Gist options
  • Save hatajoe/a549ac6f4a0c3f56af7a to your computer and use it in GitHub Desktop.
Save hatajoe/a549ac6f4a0c3f56af7a to your computer and use it in GitHub Desktop.
#!/bin/bash
base_dir=`pwd`
wget https://mecab.googlecode.com/files/mecab-0.996.tar.gz
tar zxfv mecab-0.996.tar.gz
cd mecab-0.996
./configure --enable-utf8-only
make
make check
sudo make install
sudo ldconfig
cd $base_dir
wget https://mecab.googlecode.com/files/mecab-ipadic-2.7.0-20070801.tar.gz
tar zxfv mecab-ipadic-2.7.0-20070801.tar.gz
cd mecab-ipadic-2.7.0-20070801
./configure --with-charset=utf8
make
sudo make install
sudo ldconfig
cd $base_dir
rm -rf mecab-0.996 mecab-ipadic-2.7.0-20070801
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment