Mecab-ko Install Procedure

Instration of Mecab-ko

cd /tmp
curl -LO https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.1.tar.gz
tar zxfv mecab-0.996-ko-0.9.1.tar.gz
cd mecab-0.996-ko-0.9.1/
./configure --prefix=$path/mecab-0.996-ko-0.9.1
make
make check
make install

Instration of the Mecab-ko dictionary

cd /tmp
curl -LO https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-1.6.1-20140814.tar.gz
tar zxfv mecab-ko-dic-1.6.1-20140814.tar.gz
cd mecab-ko-dic-1.6.1-20140814/
./configure --prefix=$path/mecab-ko-dic-1.6.1-20140814 --with-dicdir=$path/mecab-0.996-ko-0.9.1/lib/mecab/dic/mecab-ko-dic --with-mecab-config=$path/mecab-0.996-ko-0.9.1/bin/mecab-config
make
sh -c 'echo "dicdir=$prefix/mecab-0.996-ko-0.9.1/dic/mecab-ko-dic" > $prefix/mecab-0.996-ko-0.9.1/etc/mecabrc'
make install


This install proceduce is based on the script of Konlpy.