1.错误代码
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core` exited with 128.
Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.
换了新mac, homebrew死活装不上,老是卡在这里,试了网上的各种方法都没能成功!
最后在官网的社区里找到了答案!链接
2.具体操作方法,在命令行里执行:
git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
3.装完后诊断一下:
$ brew doctor
# Your system is ready to brew.
本文详细记录了一次解决Homebrew在新Mac上安装失败的问题经历,通过特定的git clone命令成功解决了因网络问题导致的安装失败,最终使系统准备就绪进行后续的软件包安装。
530

被折叠的 条评论
为什么被折叠?



