For faster navigation, this Iframe is preloading the Wikiwand page for Homebrew.

Homebrew

Homebrew
Homebrew’s logo
截图
终端中运行brew帮助命令的输出
终端中运行brew帮助命令的输出
原作者马克斯·霍威尔
首次发布2009年5月21日,​15年前​(2009-05-21[1]
当前版本
  • 4.3.6 (2024年6月17日;穩定版本)[2]
編輯維基數據鏈接
源代码库 編輯維基數據鏈接
编程语言Ruby
操作系统macOSLinux
语言英语
类型软件包管理系统
许可协议BSD许可证
网站brew.sh

Homebrew是一款自由开放源代码软件包管理系统,用以简化macOS系统上的软件安装过程,最初由马克斯·霍威尔(Max Howell)写成。因其可扩展性得到了一致好评[4],并在Ruby on Rails社区广为人知。

Homebrew通过GitHub维护,并从其GitHub仓库中获取数据。用户可通过贡献此项目来增加支持的软件包。2012年,Homebrew是GitHub上拥有最多新贡献者的项目[5]。2013年,Homebrew同时成为GitHub上最多贡献者及最多已关闭问题的项目[6]

机制

Homebrew以Ruby语言写成,针对于Mac OS X操作系统自带Ruby的版本。默认安装在/usr/local(Intel处理器)或/opt/homebrewApple芯片),由一个核心git版本库构成,以使用户能更新Homebrew。包管理器使用一种称为“配方”(formula)的DSL脚本来管理依赖、下载源代码及配置和编译软件,从源代码中构建软件。称为“瓶”(bottle)的二进制包是用默认选项预编译好的配方。

逸事

Homebrew的作者Max Howell曾应聘过Google的职位,面试失败之后在Twitter上发帖

Google: 90% of our engineers use the software you wrote (Homebrew), but you can't invert a binary tree on a whiteboard so f*** off.(Google:我们90%的工程师都在用你的软件(Homebrew),但是你不会在白板上翻转二叉树,所以滚出去。)

twitter原文页面存档备份,存于互联网档案馆),在网上引发了关于招聘程序员面试时白板编程意义的讨论。

参见

参考

  1. ^ GitHub上的Homebrew release 0.1
  2. ^ Release 4.3.6. 2024年6月17日 [2024年6月22日]. 
  3. ^ GitHub上的Homebrew release 2.4.8
  4. ^ Arko, Andre. Homebrew: OS X’s Missing Package Manager. Engine Yard blog. Engine Yard. [2015-06-16]. (原始内容存档于2012-10-15). 
  5. ^ The Octoverse in 2012. GitHub. [2015-06-16]. (原始内容存档于2015-08-15). 
  6. ^ GitHub Octoverse 2013. [2020-09-26]. (原始内容存档于2020-09-19). 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
Homebrew
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?