Feiox
V2EX  ›  macOS

如何更改 Homebrew 的安装源

  •  
  •   Feiox · Mar 31, 2014 · 11334 views
    This topic created in 4432 days ago, the information mentioned may be changed or developed.
    天朝竟然连 Python.org 都墙,校园宽带竟然连 VPN 都封。无奈啊。
    想知道如何 更改 Homebrew 的安装源(唉,逢 Python 必断)
    另外,homebrew 安装包匹配的机制和 apt-get 一样吗?求科普
    7 replies    1970-01-01 08:00:00 +08:00
    roamlog
        1
    roamlog  
       Mar 31, 2014
    不是自带了 Python 吗?也可以手动编译安装吧?
    Jreen
        2
    Jreen  
       Mar 31, 2014   ❤️ 1
    办法:(会提示编辑ruby源代码)
    brew edit python或者python3
    同样修改url后面
    flyee
        3
    flyee  
       Mar 31, 2014
    lz是要改homebrew本身的源还是formulea的源?
    Jreen
        4
    Jreen  
       Mar 31, 2014
    从楼主的描述来看。我感觉是formulea的源。
    Rand01ph
        5
    Rand01ph  
       Mar 31, 2014
    可以把包下下来 放到/Library/Caches/Homebrew在运行命令,也很快~
    dorentus
        6
    dorentus  
       Mar 31, 2014
    homebrew 的「源」只提供 fomula,每个 fomula 里面都是自己指定到哪边去下载……
    rayiion
        7
    rayiion  
       Apr 1, 2014
    python.org没有被墙吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1321 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 125ms · UTC 23:45 · PVG 07:45 · LAX 16:45 · JFK 19:45
    ♥ Do have faith in what you're doing.