brew extract --version=9.25 ghostscript [tap] 什么是tap?

brew extract --version=9.25 ghostscript [tap] what is tap?

瓷砖说明了一切。尝试在新 mac 上安装旧版本的 ghostscript。

brew extract --version=9.25 ghostscript <tap>

点击应该是什么?或者更好的办法是教我钓鱼。

根据官方的说法Homebrew terminology,一个tap是:

A Git repository of Formulae and/or commands

它们位于:

/usr/local/Homebrew/Library/Taps/

英特尔 Mac 及以下

/opt/homebrew/Library/Taps/

M1 Mac.

您可以通过以下方式创建本地分路器:

brew tap-new user/repo

这将在 /opt/homebrew/Library/Taps/user/repo/(对于 M1)下创建一个本地 git 存储库。

如果您想了解有关 tap 的更多信息,请阅读手册页 (man brew),阅读 documentation, and if you want to know even more read the source code