jchnxu
V2EX  ›  macOS

每次 homebrew 装东西都怕断了

  •  
  •   jchnxu · Jan 9, 2022 · 8309 views
    This topic created in 1760 days ago, the information mentioned may be changed or developed.
    我是 ctrl-c 还是不 ctrl-c 呢

    38 replies  •  2022-01-13 23:49:09 +08:00
    xarthur
    xarthur
    Jan 9, 2022 via iPhone
    1
    这个只是下载,中止就中止了
    jdhao
    jdhao
    Jan 9, 2022 via Android
    2
    网速好可解
    lafuerza
    lafuerza
    Jan 9, 2022
    3
    爬梯子很快就下载好了。
    Dvel
    Dvel
    Jan 9, 2022 via iPhone
    4
    走代理
    karott7
    karott7
    Jan 9, 2022
    5
    走代理+1
    wonderfulcxm
    wonderfulcxm
    Jan 9, 2022 via iPhone❤️2
    6
    温馨提示:brew 下载时是用 curl ,会绕过.curlrc 配置的代理。https://d.cellmean.com/p/aa5a5f6a0f09
    d5
    d5
    Jan 9, 2022
    7
    添加一个清华源呗,速度还算快

    https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/
    kekeyu
    kekeyu
    Jan 9, 2022
    8
    全局代理吧

    QX 安装在 Mac mini M1 上了,直接使用手机版的配置分流文件,全局开了。
    配置文件和手机上保持一致就可以,还挺方便的
    Biwood
    Biwood
    Jan 9, 2022 via Android
    9
    每次都要先设置一下 https_proxy 环境变量,不然 homebrew 响应特别慢,也不知道在干嘛
    xiaooloong
    xiaooloong
    Jan 9, 2022❤️5
    10
    zhaohy
    zhaohy
    Jan 9, 2022 via iPhone
    11
    如果只想装软件,不想更新,可以执行完命令的时候按下一次 ctrl c 取消更新,这样就能直接装自己要装的软件了,不然每次都自己更新一波,很费时间
    xiaolanger
    xiaolanger
    Jan 9, 2022
    12
    换国内的源吧,别把国际流量浪费在这种事上
    unneeded
    unneeded
    Jan 9, 2022
    13
    我经常 control+c 中断然后挂代理😂
    xtinput
    xtinput
    Jan 9, 2022
    14
    用清华的那个源吧
    xlsepiphone
    xlsepiphone
    Jan 9, 2022
    15
    软路由没压力。。。公司的话开全局代理吧。
    xlsepiphone
    xlsepiphone
    Jan 9, 2022
    16
    homebrew 不建议你用国内的源,搞不好就抽风了。
    CJN2021
    CJN2021
    Jan 9, 2022
    17
    买个好点的翻墙线路,开个增强全局代理,哪里还用担心这些问题
    1350943277
    1350943277
    Jan 9, 2022
    18
    gitee 上有一键安装 homebrew 并配置中科大源的,虽然部分 cask 还是从软件官网单线程下载很慢
    Xusually
    Xusually
    Jan 9, 2022 via iPhone
    19
    Surge 增强模式就可以了
    notgoda
    notgoda
    Jan 9, 2022 via iPhone
    20
    @xiaooloong
    @Dvel
    @xarthur
    @zhaohy
    @zhaidoudou123
    @xtinput
    @xlsepiphone
    @Xusually 各位 V 友 请问想看需要的软件包是否支持 M1 ,除了前去 formulae.brew.sh 页面查找,通过命令行方式如何查看呢? brew search 软件包名 好像看不出来。谢谢
    butanediol2d
    butanediol2d
    Jan 9, 2022 via iPhone
    21
    @notgoda homebrew/core 必须是开源软件,理论上应该都可以支持 Apple silicon 吧。而且有这样一句:either built from source or produce cross-platform binaries
    lqcc
    lqcc
    Jan 9, 2022
    22
    用的科大源,很快、不会断。pip 我也用的国内源。
    breezeFP
    breezeFP
    Jan 9, 2022
    23
    挂代理
    arischow
    arischow
    Jan 9, 2022
    24
    网关模式
    LotusChuan
    LotusChuan
    Jan 9, 2022
    25
    平时一直开着代理,用的 zsh ,配置文件里面加下 http 代理走 clash 就行了
    export http_proxy=http://localhost:4780
    export https_proxy=http://localhost:4780
    wanacry
    wanacry
    Jan 9, 2022
    26
    @kekeyu #8 qx 在 m1 上和网易 uu 冲突怎么办呀
    janxin
    janxin
    Jan 9, 2022
    27
    @notgoda brew info ,search 只是能搜索到
    FACEB00K
    FACEB00K
    Jan 9, 2022
    28
    终端肯定要走代理啊,每次 brew update 之前 export 一下,配置代理
    EastLord
    EastLord
    Jan 9, 2022
    29
    用国内源
    notgoda
    notgoda
    Jan 9, 2022 via iPhone
    30
    @butanediol2d
    @janxin 谢谢两位. 请教我看网上 M1 有两种安装 brew 方式 , 请问这两个都可以安装成功。 有什么区别吗? 1.)
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    2)
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    wzcloud
    wzcloud
    Jan 9, 2022
    31
    用清华大学的镜像
    notgoda
    notgoda
    Jan 9, 2022 via iPhone
    32
    @notgoda
    @janxin
    @butanediol2d
    @butanediol2d 谢谢,原来旧的脚本已经被弃用了。
    kekeyu
    kekeyu
    Jan 9, 2022
    33
    @wanacry 这个。。。不知道,不用网易 UU

    用网易 UU 的时候,应该不需要 QX 吧?换着开呗
    djv
    djv
    Jan 10, 2022
    34
    我一直是 CFW 的 TUN
    notgoda
    notgoda
    Jan 13, 2022
    35
    @janxin @butanediol2d v 友 你好 , 请问我执行后没显示是否支持 arm,这默认是不显示 arm /intel 版本支持情况么?
    % brew info telnet
    telnet: stable 63 (bottled)
    User interface to the TELNET protocol
    https://opensource.apple.com/
    Conflicts with:
    inetutils (because both install 'telnet' binaries)
    Not installed
    From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/telnet.rb
    License: BSD-4-Clause-UC and APSL-1.0
    ==> Requirements
    Build: Xcode ✘
    Required: macOS ✔
    janxin
    janxin
    Jan 13, 2022
    36
    @notgoda bottled 的就是已经编译过的现成版本的意思
    notgoda
    notgoda
    Jan 13, 2022 via iPhone
    37
    @janxin 所以您的意思是他的这个版本同时支持 arm 和 Intel Mac OS 系统吗?🙏嘻嘻。
    notgoda
    notgoda
    Jan 13, 2022 via iPhone
    38
    @janxin 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5363 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 187ms · UTC 03:00 · PVG 11:00 · LAX 19:00 · JFK 22:00
    ♥ Do have faith in what you're doing.