Homebrew 瓶子在线存储在哪里?
Where are Homebrew bottles stored online?
Homebrew 瓶是从哪里下载的?
Our bottles (binary packages) are hosted by Bintray.
您可以在源代码中找到每个包的下载位置的完整列表:
https://github.com/Homebrew/homebrew-core/tree/master/Formula
例如,如果你想安装 boost 然后查看 boost.rb
并找到:
desc "Collection of portable C++ source libraries"
homepage "https://www.boost.org/"
url "https://downloads.sourceforge.net/project/boost/boost/1.61.0/boost_1_61_0.tar.bz2"
sha256 "a547bd06c2fd9a71ba1d169d9cf0339da7ebf4753849a8f7d6fdb8feee99b640"
截至 2021 年 5 月,Bintray is no longre available 和瓶子托管在 GitHub
https://github.com/orgs/Homebrew/packages
历史和推荐阅读:
有一篇优秀的 2019 年背景文章描述了如何
Maintain your own Homebrew repository, with binary bottles,这解释了 Bintray 托管的瓶子的 url 模式。在处理较旧的公式和水龙头时,它仍然是有价值的阅读,即使 Bintray 不再有效。
URL 模式通常与 https://dl.bintray.com/<user>/bottles-<tap>
相关。
2020 年 Release 2.5.2, uploading bottles to GitHub Releases 开始支持。
2021 年,截至 Release 3.1.0, GitHub Releases became the default location。
另见
Homebrew 瓶是从哪里下载的?
Our bottles (binary packages) are hosted by Bintray.
您可以在源代码中找到每个包的下载位置的完整列表:
https://github.com/Homebrew/homebrew-core/tree/master/Formula
例如,如果你想安装 boost 然后查看 boost.rb
并找到:
desc "Collection of portable C++ source libraries"
homepage "https://www.boost.org/"
url "https://downloads.sourceforge.net/project/boost/boost/1.61.0/boost_1_61_0.tar.bz2"
sha256 "a547bd06c2fd9a71ba1d169d9cf0339da7ebf4753849a8f7d6fdb8feee99b640"
截至 2021 年 5 月,Bintray is no longre available 和瓶子托管在 GitHub https://github.com/orgs/Homebrew/packages
历史和推荐阅读:
有一篇优秀的 2019 年背景文章描述了如何 Maintain your own Homebrew repository, with binary bottles,这解释了 Bintray 托管的瓶子的 url 模式。在处理较旧的公式和水龙头时,它仍然是有价值的阅读,即使 Bintray 不再有效。 URL 模式通常与
https://dl.bintray.com/<user>/bottles-<tap>
相关。2020 年 Release 2.5.2, uploading bottles to GitHub Releases 开始支持。
2021 年,截至 Release 3.1.0, GitHub Releases became the default location。