无法安装Mac Homebrew [英] Trouble Installing Mac Homebrew
问题描述
我已经尝试过各种论坛,但Google却无济于事.我正在尝试在OS X 10.6.8上安装Mac Homebrew.当我尝试通过Homebrew主页上的install命令时:
I've tried the various forums and teh Google to no avail. I'm trying to install Mac Homebrew on OS X 10.6.8. When I try the install command from the Homebrew Homepage:
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
我收到以下错误:
host-197-7-0-10:~ rzazueta$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press enter to continue
==> Downloading and Installing Homebrew...
error: The requested URL returned error: 403 while accessing https://github.com/mxcl/homebrew /info/refs
fatal: HTTP request failed
Failed during: git fetch origin master:refs/remotes/origin/master -n
403很奇怪.知道这里会发生什么吗?我能够使用此方法在另一台Mac上成功安装,因此我确信问题出在我的计算机上,但我什至不知道从哪里开始找出造成此问题的原因.
That 403 is rather odd. Any idea what could be happening here? I was able to successfully install using this method on another Mac, so I feel confident the issue is on my machine, but I don't even know where to begin to figure out what's causing this.
谢谢!
推荐答案
检查其安装页面( https ://github.com/mxcl/homebrew/wiki/Installation ),然后查看备用安装.
Check their installation page (https://github.com/mxcl/homebrew/wiki/Installation) and look under alternate installs.
相关行为:
cd /usr/local/bin
mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew
然后就
ln -s path/to/homebrew/bin/brew /usr/local/bin/brew
我认为 http://mxcl.github.com/homebrew/上列出的路径是过时的.
I think the path listed on http://mxcl.github.com/homebrew/ is dated.
这篇关于无法安装Mac Homebrew的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!