Open the terminal;
Enter: export PATH = / usr / local / bin: $ PATH
$ cd /usr/local/ $ mkdir homebrew $ sudo chown -R $(whoami) /usr/local/homebrew
Can go to this website to find the latest command: https: //brew.sh/
then be:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
这样就安装成功了
安装:Tesseract命令:
- $ brew install tesseract