美文网首页
mac的homebrew慢问题

mac的homebrew慢问题

作者: Tismagic | 来源:发表于2020-03-28 21:31 被阅读0次

近日在自己电脑上brew install xxxx 的时候,发现自动更新homebrew时,卡住很长时间都没有进行下去 。

通过 brew update --verbose , 发现卡在了homebrew-cask 更新上。在这之前将homebrew源由github 更新成了阿里云镜像的源,经过确认才发现,阿里云镜像站中只有brew-core 没有brew-cask 。 而此时,将homebrew-cask 的源替换成中科大的也没用。同样会卡住。索性全部替换成中科大的源:

[ 复制代码

](javascript:void(0); "复制代码")

<pre style="margin-top: 0px; margin-bottom: 0px; white-space: pre-wrap; overflow-wrap: break-word; border: 1px solid rgb(85, 85, 85); background: rgb(238, 238, 238); font-size: 12px !important; padding: 1em; font-family: "Courier New" !important;">// 替换brew.git:
cd "(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git // 替换homebrew-core.git: cd "(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git // 替换homebrew-cask.git:
 cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask
git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git</pre>

转载于https://www.cnblogs.com/halberd-lee/p/12500338.html

相关文章

  • 参考资料

    Mac 解决homebrew慢的问题: w3cboy.com/post/2017/03/homebrew-spee...

  • mac的homebrew慢问题

    近日在自己电脑上brew install xxxx 的时候,发现自动更新homebrew时,卡住很长时间都没有进行...

  • Mac 软件安装

    mac安装homebrew Mac通过homebrew下载过慢问题 Mac使用homebrew安装redis 使用...

  • Mac下Homebrew安装慢的问题

    解决 HomeBrew 下载缓慢的问题 macOS 自身不提供包管理器,常用的包管理器有 HomeBrew Mac...

  • Mac homebrew安装慢

    https://gitee.com/cunkai/HomebrewCN[https://gitee.com/cun...

  • 2020-04-15

    最近换了Mac,安装Homebrew很慢(以前好像并没有这么慢),Downloading and installi...

  • 卸载Macports,安装Homebrew

    @[Mac|Homebrew|Macports] 概述#### MacPorts和Homebrew都是Mac OS...

  • Mac 安装Homebrew慢的问题解决

    一开始安装,在官网上的命令: 特别的慢,而且执行着就很容易断开,连接不上。所以需要换一种方法。 打开终端,到自己喜...

  • Homebrew 更新慢问题

    cd"$(brew --repo)"git remote set-url origin https://mirro...

  • 安装homebrew慢的问题

    我们在新的电脑中使用pods的时候会遇到安装homebrew的问题,使用官网安装的时候回比较慢,使用这个命令就会很快

网友评论

      本文标题:mac的homebrew慢问题

      本文链接:https://www.haomeiwen.com/subject/onqeuhtx.html