Created
October 29, 2021 14:27
-
-
Save tetlabo/22730c2fbc54ced7f11d6c163cbc9111 to your computer and use it in GitHub Desktop.
RStudio CloudにMeCabをインストールする手順
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RStudioの "Terminal" での作業 | |
cd $HOME | |
wget -Omecab-0.996.tar.gz 'https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE' | |
wget -Omecab-ipadic-2.7.0-20070801.tar.gz 'https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM' | |
tar xzvf mecab-0.996.tar.gz | |
cd mecab-0.996 | |
./configure --enable-utf8-only --prefix=$HOME/usr/local | |
make | |
make install | |
cd | |
export PATH=$PATH:$HOME/usr/local/bin | |
tar xzvf mecab-ipadic-2.7.0-20070801.tar.gz | |
cd mecab-ipadic-2.7.0-20070801 | |
./configure --with-charset=utf8 --prefix=$HOME/usr/local | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment