1. Download three packages from the official website:
http://taku910.github.io/mecab/
mecab-0.996 mecab-0.996.tar.gz mecab-ipadic-2.7.0-20070801 mecab-ipadic-2.7.0-20070801.tar.gz mecab-python-0.996 Mecab-python-0.996.tar.gz
2, according to the official website said installation
When installing the Mecab-ipadic dictionary, a pit was encountered. Tips:
Mecab-config isn't found in your system
The correct solution is:
Vim/etc/ld.so.conf
$ cat/etc/ld.so.confinclude/etc/ld.so.conf.d/*.conf/usr/local/lib
Then sudo ldconfig
Re-install
A lot of pits were trampled during the period, including trying to use./configure--prefix= to customize the location.
Another example/mecab-dict-index:error while loading shared libraries:libmecab.so.2:cannot open Shared object file:no such file or directory
But will cause Python to be used inside, runtimeerror
So it is more reliable to install the step by step.
The following is a reference website to prevent the pit from being trampled again:
http://d.hatena.ne.jp/hase1031/20111005/1317808636
http://d.hatena.ne.jp/atree/20090512/1242122536
http://d.hatena.ne.jp/cupnes/20110201/1296574516
Http://blog.hexu.org/archives/738.shtml
Ubuntu installs Japanese word breaker software mecab and its Python plugin