Homebrew way to explore https:https://cdn.v2ex.com/navatar/55a7/cf9c/492_normal.png?m=1567465649 https:https://cdn.v2ex.com/navatar/55a7/cf9c/492_large.png?m=1567465649 2023-12-28T00:52:24Z Copyright © 2010-2018, V2EX 分享两个我和小伙伴维护的第三方 Homebrew 仓库 tag:www.v2ex.com,2023-12-27:/t/1003963 2023-12-27T14:16:19Z 2023-12-28T00:52:24Z Mrered member/Mrered
https://i.imgur.com/nAJggBp.png

https://i.imgur.com/5VbuCCo.png

https://github.com/brewforge

]]> 同志们, brew 不支持 big sur 了,怎么搞 tag:www.v2ex.com,2023-11-25:/t/995194 2023-11-25T14:30:19Z 2023-11-26T03:59:28Z ab member/ab
brew 一个 upgrade, 各路神仙各种编译升级

一个小时了, 还在 make... ]]>
没有设置 Homebrew 清华源, brew 却从清华源下载? tag:www.v2ex.com,2023-07-15:/t/957079 2023-07-15T22:40:05Z 2023-07-16T06:06:37Z qeqv member/qeqv 过程
 % brew search iina ==> Formulae inja ==> Casks iina iina-plus 
 % brew install iina ==> Downloading https://dl-portal.iina.io/IINA.v1.3.2.dmg ==> Downloading from https://mirrors.tuna.tsinghua.edu.cn/iina/IINA.v1.3.2.dmg ######################################################################################################################################################################################################################## 100.0% ==> Installing Cask iina ==> Moving App 'IINA.app' to '/Applications/IINA.app' ==> Linking Binary 'iina-cli' to '/usr/local/bin/iina' 🍺 iina was successfully installed! 

查看 brew 配置

 % brew config HOMEBREW_VERSION: >=2.5.0 (shallow or no git repository) ORIGIN: (none) HEAD: (none) Last commit: never Core tap origin: https://github.com/Homebrew/homebrew-core Core tap HEAD: (none) Core tap last commit: never Core tap branch: (none) Core tap JSON: 15 Jul 17:28 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_API_AUTO_UPDATE_SECS: 86400 HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 4 Homebrew Ruby: 2.6.10 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby CPU: quad-core 64-bit broadwell Clang: N/A Git: N/A Curl: 7.87.0 => /usr/bin/curl macOS: 12.6.7-x86_64 CLT: N/A Xcode: N/A 
 % brew tap elastic/tap gcenx/wine homebrew/cask homebrew/core homebrew/services 

属实给我整不会了

仔细想想以前有可能临时用过清华的源,但是并没有配置环境变量啊

]]>
会自动更新的非 MAS 安装的 app 怎么用 brew cask 管理? tag:www.v2ex.com,2023-06-14:/t/948715 2023-06-14T08:10:02Z 2023-06-14T08:38:32Z kiritoyui member/kiritoyui mac brew services nginx 开机启动失败,有遇到的老哥吗? tag:www.v2ex.com,2023-02-16:/t/916702 2023-02-16T08:29:14Z 2023-02-16T08:32:15Z bkchan member/bkchan 我通过 brew 安装的 nginx ,然后执行了 brew servcies start restart nginx ,服务正常启动. 但是当我重启电脑之后,通过 brew services list 命令查看,发现 nginx 显示的是 error , https://imgur.com/a/RDPLHSb

brew services start nginx 也不行。 https://imgur.com/zfhAqEk

但是如果通过 brew services restart nginx 是可以正常运行的。 https://imgur.com/S9PhR4s

]]>
HOMEBREW_INSTALL_FROM_API 已经是默认设置了 tag:www.v2ex.com,2023-02-14:/t/915929 2023-02-14T02:44:03Z 2023-02-14T02:44:03Z clrss member/clrss 3.6.21

HOMEBREW_INSTALL_FROM_API: make the default for everyone 

可以brew untap homebrew/core来省空间.

另外设置国内源

export HOMEBREW_BREW_GIT_REMOTE=.. export HOMEBREW_BOTTLE_DOMAIN=.. export HOMEBREW_API_DOMAIN=.. 

源你们自己搜搜. 我怕推荐了一个压力会集中到那儿.

]]>
M1 MBP Ventura 上 MacVim 命令行启动后开新 Tab 崩溃 tag:www.v2ex.com,2022-12-22:/t/904202 2022-12-22T14:23:01Z 2022-12-22T14:22:01Z freeair member/freeair 搜到了和我一样的现象,有人碰到过吗?

MacVim crashes when opening a new tab if started from terminal (homebrew installation)

本来怀疑是系统大版本升级遗留问题,系统重装了结果还是一样。

]]>
请教, mac 的 homebrew 用久了,怎么重置啊~ tag:www.v2ex.com,2022-10-17:/t/887666 2022-10-17T17:35:47Z 2022-10-17T23:27:42Z xialer member/xialer bigsur 这版本用了三年了,没重装的欲望,但是 homebrew 感觉是一团乱麻, brew 一条指令下去,阿猫阿狗都跟着更新凑热闹。 里面甚至还有个怼进去的 x11 环境,一大堆做实验八辈子用不到的包。 我想把它咔嚓掉,咋玩~

]]>
Brew 装不上 ca-certificates tag:www.v2ex.com,2022-08-10:/t/871955 2022-08-10T07:55:34Z 2022-08-10T08:25:56Z gamesover member/gamesover 公司全新的 macbook pro ,居然 brew 装不上最简单的 openssl

brew install openssl Running `brew update --auto-update`... ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2022-07-19_1 Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/c95acf8107b31ec83053f411f74e85b2626e1a0c051467aff6b98acf996883d7--ca-certificates-2022-07-19_1.bottle_manifest.json Error: openssl@3: Failed to download resource "ca-certificates_bottle_manifest" The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON): /Users/user/Library/Caches/Homebrew/downloads/c95acf8107b31ec83053f411f74e85b2626e1a0c051467aff6b98acf996883d7--ca-certificates-2022-07-19_1.bottle_manifest.json 

同事说公司电脑有限制,我觉得有点不可思议

]]>
brew 下载过程怎么跳过已下载的依赖包? tag:www.v2ex.com,2021-12-12:/t/821713 2021-12-12T13:39:30Z 2021-12-12T16:03:20Z az22c member/az22c brew upgrade scrcpy ,安装这个名为 scrcpy 的软件。各种网络调试,以下载各个子依赖包。

需要每次终止并重新执行该命令。去检测子依赖包花费的时间好久,比如这个

Already downloaded: xxxxx.tar.gz

检测半天才检测出来这个子包已经下载过了,在 cache 里面。后面还有好几百个子包同样需要经历这种无意义的检测。

大佬们有没有办法配置加快检测 cache 的过程?

]]>
homebrew 移除了对 mojave 的支持,结果现在安装啥都得编译安装,有的要几个小时才编译完,愁死了 tag:www.v2ex.com,2021-10-27:/t/810892 2021-10-27T03:07:27Z 2022-07-20T16:21:10Z rikka member/rikka [M1 芯片] 安装最新版的 Homebrew 并替换成清华大学的源后无法安装软件 tag:www.v2ex.com,2021-02-23:/t/755350 2021-02-23T02:29:27Z 2021-04-15T18:12:50Z sungnix member/sungnix 版本号:Homebrew 3.0.2-4-gb1bde5f
错误信息:SHA256 mismatch

安装任意软件就会提示 SHA256 不匹配,
大家有遇到过这个问题吗?
还是说知会在 ARM 芯片的 Mac 上才会出现这个问题呢。

]]>
Homebrew 正式支持 M1 tag:www.v2ex.com,2021-02-06:/t/751782 2021-02-06T04:00:44Z 2021-04-14T06:00:50Z freeair member/freeair 官宣

Today I’d like to announce Homebrew 3.0.0. The most significant changes since 2.7.0 are official Apple Silicon support and a new bottle format in formulae.

安装

M1 Mac 上 homebrew 能和 Intel 一样命令安装了。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew 3.0.0 版本

% brew --version
Homebrew 3.0.0
Homebrew/homebrew-core (git revision 5fd0f; last commit 2021-02-05)

]]>
Install homebrew in native mode on Apple MacOS ARM (M1) tag:www.v2ex.com,2020-12-28:/t/739573 2020-12-28T03:07:11Z 2020-12-28T03:07:11Z ccming member/ccming https://github.com/pforret/m1_homebrew

For anyone reading this, this is not supported by the Hombrew project ]]>
Homebrew 要求 unshallow 整个 repo tag:www.v2ex.com,2020-12-11:/t/734388 2020-12-11T02:37:19Z 2020-12-25T14:33:28Z lovestudykid member/lovestudykid 因为 Github/微软要求,为了避免昂贵的 shallow diff,所有用户都需要 unshallow 整个 repo 。brew update 的时候会报错直到 unshallow 。

看了下/usr/local/Homebrew/Library/Taps/占用空间已接近 1G,并且还会继续增长。为了节省计算资源,需要所有用户献出更多硬盘资源。Linux 上包管理器是怎么解决这个问题的?

附上 unshallow 的 commands

git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow 

相关讨论: https://github.com/Homebrew/discussions/discussions/225

]]>
Homebrew 对 Apple Silicon 的支持状况 tag:www.v2ex.com,2020-11-30:/t/730447 2020-11-30T00:59:27Z 2020-11-30T11:40:08Z Livid member/Livid https://github.com/Homebrew/brew/issues/7857

看起来还需要一段时间。目前处在一个非常 hacky 的阶段。 ]]>
Homebew on macOS Big Sur 兼容性问题 tag:www.v2ex.com,2020-11-16:/t/725768 2020-11-16T06:12:28Z 2020-11-17T21:26:19Z lavvrence member/lavvrence 最近刚升级了 mac,在使用 homebrew 的时候会提醒:

Warning: You are using macOS 11.0. We do not provide support for this released but not yet supported version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or any other official channels. You are responsible for resolving any issues you experience while you are running this released but not yet supported version. 

尝试安装某个命令行工具的时候会报错:

Error: Your CLT does not support macOS 11.0. It is either outdated or was modified. Please update your CLT or delete it if no updates are available. Error: An exception occurred within a child process: SystemExit: exit 

在社区的搜索结果:

https://github.com/GoogleContainerTools/kpt/issues/962 和我一样的问题

https://discourse.brew.sh/t/macos-big-sur-issue/8407 同上

https://github.com/Homebrew/brew/issues/7857 说由于 CI 环境缺失最近几个不会支持 arm 下的 homebrew

p.s.: 机器是 Intel CPU.

]]>
Mac 终端运行“brew install xxx”过程中不显示下载进度条,怎么解决? tag:www.v2ex.com,2020-09-10:/t/705950 2020-09-10T14:18:48Z 2020-09-12T06:10:47Z Tronsc member/Tronsc 如题。 brew 已更新到最新版本,功能也正常,只是安装时不显示下载进度条。 尝试过重装 Homebrew,command line tools 均无效; 尝试过切换过 shell ( zsh 和 bash )均无效; 尝试过切换终端应用( Terminal 和 iTerm2 )均无效; 有遇到相同问题的吗?如何解决呢?

]]>
homebrew 安装相关 tag:www.v2ex.com,2020-07-03:/t/686777 2020-07-03T02:40:58Z 2020-07-16T23:05:18Z 0726 member/0726 可以科学上网访问 github 但是却 ping 不通 然后修改了 /private/etc/hosts 配置 添加了 192.30.253.113 github.com 依然无效.

我知道有国内源,但是不太想用哈. 之前有安装 我又卸了 囧!!

]]>
brew 不能找到 pyenv 装的 Python tag:www.v2ex.com,2020-01-11:/t/637197 2020-01-11T22:01:08Z 2020-01-12T03:01:13Z lbfeng member/lbfeng 用 pyenv 装了 python3,python2. brew 再装其他包时如果依赖里有 python 还是会单独安装 python@2。。。是我设置有问题么?

]]>
关于用 Homebrew 安装 NGINX 并改成 80 端口启动 tag:www.v2ex.com,2019-09-02:/t/597382 2019-09-02T23:03:22Z 2019-09-03T02:08:08Z Livid member/Livid Homebrew 的一些机制一直在变,所以有的时候如果用关键字直接搜索,可能会找到一些过时的信息。

在目前版本的 macOS Mojave 里,用 Homebrew 安装 NGINX 并改为 80 端口启动的最简洁的步骤是:

brew install nginx 

会安装目前最新的 1.17.3 版本。

然后把配置文件里的默认的 8080 改为 80:

vi /usr/local/etc/nginx/nginx.conf 

然后,在第一次启动 NGINX 服务的时候,需要用 sudo,因为使用了特权端口 80:

sudo brew services start nginx 

如果你安装了其他也需要使用特权端口的服务,比如需要使用 53 端口的 DNSCrypt-Proxy,那么也需要在第一次启动的时候用 sudo。之后如果 restart 的时候也需要用 sudo。

]]>
[Homebrew]分享一下昨天刚知道的中科大源,顺便吐槽一下官方连个 mirror 列表都没得,不知海岸这边的疾苦吗?😭 tag:www.v2ex.com,2019-03-12:/t/543672 2019-03-12T04:53:29Z 2020-07-19T17:20:38Z CEBBCAT member/CEBBCAT 简而言之,快使用中科大全家桶!!!

# Homebrew 源代码仓库替换为 USTC 镜像 cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git # Homebrew Bottles (二进制)源[针对 bash 用户的,zsh 同理] echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile source ~/.bash_profile # Homebrew Cask (界面程序)源替换为 USTC 镜像[但程序还是从开发者各自的地址下] cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git 

昨天发现了之后先放在博客上了,今天贴过来

]]>
homebrew cask 国内镜像用哪个好? tag:www.v2ex.com,2017-04-20:/t/356120 2017-04-20T03:41:42Z 2017-04-20T03:38:42Z meteor member/meteor 用中国科技大学的那个 http://mirrors.ustc.edu.cn/help/homebrew-cask.git.html 好像报错

error: Unable to get pack file https://mirrors.ustc.edu.cn/homebrew-cask.git/objects/pack/pack-a72bff65450e38127e39b16ce1007fb517ee5cd8.pack The requested URL returned error: 416 Requested Range Not Satisfiable error: Unable to find 2a663d87ec798e2de66f7c79f3ada6f9a1c22f1b under https://mirrors.ustc.edu.cn/homebrew-cask.git Cannot obtain needed object 2a663d87ec798e2de66f7c79f3ada6f9a1c22f1b error: fetch failed. 

请问 homebrew cask 国内镜像用哪个更好呢?

]]>
貌似清华的 homebrew mirror 挂了 tag:www.v2ex.com,2016-07-29:/t/295758 2016-07-29T05:12:14Z 2016-07-29T06:44:28Z herozhang member/herozhang fatal: repository 'https://mirrors.tuna.tsinghua.edu.cn/git/brew.git/' not found fatal: repository 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-core.git/' not found

还是说我的网络出问题了。。。?

]]>
Homebrew 下周起将开始匿名收集用户使用的统计数据 tag:www.v2ex.com,2016-04-16:/t/271684 2016-04-16T18:43:32Z 2016-04-17T03:30:57Z xucheng member/xucheng https://twitter.com/MacHomebrew/status/721290118703751168

主要目的是为了更好的改进 Homebrew 的功能。收集数据的方式和主动关闭的方式见: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md#homebrews-anonymous-aggregate-user-behaviour-analytics

因为实现上是使用 Google Analytics ,所以对于国内用户该机制相当于是关闭。理论上无论网络环境如何,这都不会影响到 Homebrew 的正常使用。但因为本人在海外无法实际测试,希望有 v 友愿意帮助测试。

测试方法:(1) 在终端运行 export HOMEBREW_ANALYTICS=1 (2) 正常使用 brew ,看看有没有因为防火墙导致任何性能问题。谢谢! ]]>
如何修改源或者如何将使用本地源码包? tag:www.v2ex.com,2015-11-19:/t/237307 2015-11-19T06:10:39Z 2016-08-28T08:25:38Z iugo member/iugo
我在 http://ftp.osuosl.org/pub/blfs/conglomeration/libpng/ 找到镜像。

如何使用上述有效镜像进行安装,或者我将源码下载到本地使用 brew 安装?

或者说编译…… ]]>
brew 对旧的系统不管不顾了吗? tag:www.v2ex.com,2013-10-13:/t/85466 2013-10-13T12:19:33Z 2014-02-05T19:20:12Z johnnyb member/johnnyb 安装wget之后,仍然command not found tag:www.v2ex.com,2012-08-29:/t/46440 2012-08-29T12:24:17Z 2012-08-29T13:26:22Z zenomac member/zenomac ...
$ wget http://www.v2ex.com/
$ wget: command not found ]]>
在douban创建了一个homebrew的小组, 求关注 tag:www.v2ex.com,2012-07-29:/t/43817 2012-07-29T16:27:00Z 2012-07-31T00:35:43Z kernel1983 member/kernel1983
http://www.douban.com/group/brew/ 我还没升级ML, 不过大家可以贴贴经验 ]]>
Xcode, GCC, and Homebrew tag:www.v2ex.com,2012-02-17:/t/27574 2012-02-17T07:51:24Z 2012-06-08T08:26:01Z Kymair member/Kymair
令人感到欣慰的是,这个从Xcode里剥离出来的东西开始是一个放在Github上的开源作品,后来苹果联系了作者,讨论如何把它变成官方的。几个月之后真的实现了

You can now setup a complete OS X develop environment with a single 171.7 MB package download. It's official. It's legal. It'll be maintained.

http://kennethreitz.com/xcode-gcc-and-homebrew.html ]]>
遇到源的网速慢的时候怎么办呀 tag:www.v2ex.com,2012-01-26:/t/26077 2012-01-26T09:01:00Z 2012-01-30T11:58:46Z im924106179 member/im924106179 Homebrew使用问题 tag:www.v2ex.com,2011-12-19:/t/23853 2011-12-19T13:07:00Z 2012-06-08T10:00:19Z thcode member/thcode
alias emacs="/usr/.../emacs"

这样? ]]>
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86