liuyanjun0826
V2EX  ›  macOS

homebrew 安装不能

  •  
  •   liuyanjun0826 · Apr 3, 2016 via iPhone · 2710 views
    This topic created in 3718 days ago, the information mentioned may be changed or developed.
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"; 用此命令卡在
    Last login: Sun Apr 3 13:46:48 on ttys000
    liuyanjun0826deMac-Pro:~ liuyanjun0826$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
    ==> This script will install:
    /usr/local/bin/brew
    /usr/local/Library/...
    /usr/local/share/man/man1/brew.1

    Press RETURN to continue or any other key to abort
    ==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
    Password:
    ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
    ==> /usr/bin/sudo /usr/sbin/chown liuyanjun0826 /Library/Caches/Homebrew
    ==> Downloading and installing Homebrew...
    安装不下去,没办法上 youtube-dl 下载视频。。求救
    5 replies    2016-04-03 23:44:56 +08:00
    UnisandK
        1
    UnisandK  
       Apr 3, 2016
    开全局梯子试试
    liuyanjun0826
        2
    liuyanjun0826  
    OP
       Apr 3, 2016 via iPhone
    @UnisandK 现在能下了,没开梯子
    Busy
        3
    Busy  
       Apr 3, 2016
    安装好后,可以试试将源替换下,加快速度
    http://havee.me/mac/2016-01/mirror-homebrew-and-caskroom.html

    https://coding.net/u/hae
    sengxian
        4
    sengxian  
       Apr 3, 2016
    如果是 El Capitan 的话:

    > 由于 El Capitan 增加了系统完整性保护( System Integrity Protection ),需要先暂时关闭才可进行下一步。操作如下:重启机器,开启时按住 ⌘ Cmd+R ,接着在菜单栏选择工具→终端,输入:

    `csrutil disable`

    接着开机安装,切记:安装结束之后要重新开启,同样的步骤,输入:

    `csrutil enable`
    kookxiang
        5
    kookxiang  
       Apr 3, 2016
    @sengxian 我很早就升了 El Capitan , homebrew 默认用的就是 /usr/local ,这个目录不需要关闭 SIP 的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5749 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 102ms · UTC 03:17 · PVG 11:17 · LAX 20:17 · JFK 23:17
    ♥ Do have faith in what you're doing.