Linux 也有一个类似与 Mac 的HomeBrew的程序 ,用于方便的安装一些东西,下面是安装LinuxBrew的命令:
代码语言:javascript
复制git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)