程序员效率工具

Ubuntu(16.04)安装LinuxBrew(类似于Home

2019-07-26  本文已影响0人  手机摄影之美

参考官网:https://docs.brew.sh/Homebrew-on-Linux

  1. 执行 sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
  2. 执行
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
  1. 使用,例子
    brew install hello

趣闻:《乔布斯传》中,乔布斯和沃兹尼亚克一起开发Apple I和Apple II机型时曾活跃于家酿计算机俱乐部(homebrew computer club),所以,homebrew的名称是否和这件事有关系呢?如果哪位读者恰巧知道或者搜到了的话,还请不吝赐教。

上一篇下一篇

猜你喜欢

热点阅读