sh [Homebrew Setup] #installer #homebrew #install

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh [Homebrew Setup] #installer #homebrew #install相关的知识,希望对你有一定的参考价值。

# install 
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget
             
# Homebrew installs packages to their own directory and then symlinks their files into /usr/local.
$ cd /usr/local
$ find Cellar
Cellar/wget/1.16.1
Cellar/wget/1.16.1/bin/wget
Cellar/wget/1.16.1/share/man/man1/wget.1

$ ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget
  
# Troubleshooting
# First, please run brew update (twice) and brew doctor.
brew edit $FORMULA
brew help, man brew
      
# If Homebrew was updated on Aug 10-11th 2016 and brew update always says 
# Already up-to-date. you need to run:
cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
      
# troubleshoot
brew update #(twice)
Run brew doctor 
                  
# installing
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

以上是关于sh [Homebrew Setup] #installer #homebrew #install的主要内容,如果未能解决你的问题,请参考以下文章

sh centos_inst_java8.sh

sh canonical-kubernetes-offline-install.sh

sh [Homebrew Commands] #installer #homebrew #run

sh 通过Homebrew安装Redis

sh 安装Homebrew

sh 安装homebrew文件