Skip to content

Instantly share code, notes, and snippets.

@kei-s
Created May 7, 2010 06:29
Show Gist options
  • Save kei-s/393139 to your computer and use it in GitHub Desktop.
Save kei-s/393139 to your computer and use it in GitHub Desktop.
install mecab with ruby
$ wget http://downloads.sourceforge.net/project/mecab/mecab/0.98/mecab-0.98.tar.gz
$ tar zxvf mecab-0.98.tar.gz
$ cd mecab-0.98
$ ./configure
$ make
$ make check
$ sudo make install
$ wget http://downloads.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz
$ tar zxvf mecab-ipadic-2.7.0-20070801.tar.gz
$ cd mecab-ipadic-2.7.0-20070801
$ ./configure --with-charset=utf8
$ sudo ldconfig
$ make
$ sudo make install
$ wget http://nchc.dl.sourceforge.net/sourceforge/mecab/mecab-ruby-0.98.tar.gz
$ tar zxvf mecab-ruby-0.98.tar.gz
$ cd mecab-ruby-0.98
$ gem build mecab-ruby.gemspec
$ gem install mecab-ruby-0.97.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment