How to make brew faster 使用mirror 加速brew的安装过程
来源:互联网 发布:腾讯云数据库怎么连接 编辑:程序博客网 时间:2024/05/17 03:14
How to make brew faster when you behind GFW
In China side which is behind GFW, we must suffer from an extremely slow network to use brew. Sometimes, this will even make brew unavailable any more.
How to resolve it?
Thank for USTC and THU, we have brew mirror inside.
cd /usr/local
git remote set-url origin http://mirrors.ustc.edu.cn/homebrew.gitorgit remote set-url origin git://mirrors.tuna.tsinghua.edu.cn/homebrew.gitbrew update
If still very slow,
cd ~/tmp
or
git clone http://mirrors.ustc.edu.cn/homebrew.git
git clone git://mirrors.tuna.tsinghua.edu.cn/homebrew.git
Above steps will download the latest homebrew into ~/tmp directory
, and then reinstall homebrew as following steps:
rm -rf /usr/local/.gitrm -rf /usr/local/Libraryrm -rf /usr/local/bin/brewReplace with new homebrew files:cp -R homebrew/.git /usr/local/cp -R homebrew/Library /usr/local/cp homwbrew/bin/brew /usr/local/bin/and then:brew updatebrew install ***
remove old brew installation:
0 0
- How to make brew faster 使用mirror 加速brew的安装过程
- brew 的安装与使用
- brew的安装以及使用
- Mac brew的安装使用
- 使用brew安装软件
- 使用Brew安装GDB
- mac 安装使用 brew
- 使用brew安装软件
- mac brew 安装使用
- 使用brew安装软件
- GraphicsMagick使用brew安装
- How to make indexing faster
- How to make searching faster
- mac brew 的安装和使用
- brew/homebrew 的安装及使用
- Brew的安装路径
- mac brew 的安装
- 使用brew安装hexo报错--- Cowardly refusing to `sudo brew install`
- 大数据Java-交换变量的3种方式
- Oracle存储过程基本语法介绍
- 编外话18
- 基于局部均方差相关信息的图像去噪及其在实时磨皮美容算法中的应用。
- 二叉树的锯齿形层次遍历
- How to make brew faster 使用mirror 加速brew的安装过程
- POJ2253 Frogger(最短路径)
- Eclipse环境配置
- Linux 查看系统硬件信息(实例详解)
- [Android教程] android读取sim联系人资料的代码
- iOS开发 - Swift实现清除缓存功能
- POJ 1160 dp + 四边形优化
- Android布局控件之TableLayout
- 使用eclipse的模版功能来快速编码