Assumption: Rental server Lollipop Managed Cloud. I think you can do it elsewhere.
Enter the installation code on the Official Site into the terminal.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
The command "brew" cannot be used as it is. You have to set it up so that you can use it.
If you enter this in the terminal at once, you can use Homebrew with "brew".
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
Source: https://fukatsu.tech/linuxbrew
It's okay if you don't enter this much and get "brew: command not found". It's ok if various explanations come out in a bar.
brew
First, install mecab with brew. However, this alone cannot be used. Dictionary data is required.
brew install mecab
Install the dictionary. Done!
brew install mecab-ipadic
Type in mecab and the terminal, and try typing something in the blank.
mecab
hungry.
Belly noun,General,*,*,*,*,stomach,Onaka,Onaka
Decreased verb,Independence,*,*,Five steps, La line,Continuous connection,decrease,Heh,Heh
Auxiliary verb,*,*,*,Special,Uninflected word,Ta,Ta,Ta
.. symbol,Punctuation,*,*,*,*,。,。,。
EOS
If you say that you are hungry, the analyzed results will come out. that's all~. Thank you for your hard work.
Recommended Posts