mac 安装brew

快速安装

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" speed

会提示选择镜像。我选择的是1 中科大

后面各种进度,但是提示报错了

Error:

homebrew-core is a shallow clone.

homebrew-cask is a shallow clone.

按照提示的方法试试:

 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

真的文件很大,比较慢

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
remote: Enumerating objects: 1173486, done.
remote: Counting objects: 100% (1173483/1173483), done.
remote: Compressing objects: 100% (348887/348887), done.
remote: Total 1167740 (delta 819307), reused 1164288 (delta 815967), pack-reused 0
Receiving objects: 100% (1167740/1167740), 506.74 MiB | 278.00 KiB/s, done.
Resolving deltas: 100% (819307/819307), completed with 5525 local objects.

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

 brew update

 当然还是装不上Telnet

brew install telnet
Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

telnet: A full installation of Xcode.app is required to compile
this software. Installing just the Command Line Tools is not sufficient.

Xcode can be installed from the App Store.
Error: telnet: An unsatisfied requirement failed this build.
bohu83MacBook-Pro:workspace benmu$ brew install telnet

缺了xcode.但是我的系统版本低。低配磁盘快满了,不装了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值