mac osx 安装brew问题
找到了安装命令:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
但老超时,安装不了,不知道还有不有其它方法?
新的问题:
wyattdeMacBook-Pro:~ wyatt$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
Press ENTER to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
==> Downloading and installing Homebrew...
fatal: unable to access 'https://github.com/Homebrew/homebrew/': Failed connect to github.com:443; Operation timed out
Failed during: git fetch origin master:refs/remotes/origin/master -n
update:
wyattdeMacBook-Pro:~ wyatt$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
It appears Homebrew is already installed. If your intent is to reinstall you
should do the following before running this installer again:
rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
用这个命令行安装:
update:根据 github 上 homebrew 的commit,链接该修改为:
Change "mxcl/homebrew" refs to "Homebrew/homebrew"
今天也遇到这个问题了,反复卸载安装都没有解决。最后采用“将brew库下载到本地,不使用ruby安装”,完美解决。
具体解决方法如下:http://2tu.github.io/2015/10/16/brewInstall/