Homebrew Installing on OS X Yosemite 10.10, Package Manager for Unix Apps

本文提供了一步式指南,详细介绍了如何在 Mac OS X 上安装 Homebrew,一种用于轻松安装 Unix 工具和开源软件的包管理器。包括下载 Xcode、安装命令行工具、安装 Homebrew 的步骤,并提供了如何搜索、安装、列出已安装应用及卸载应用的实用命令。同时解释了 Homebrew 的安装位置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://coolestguidesontheplanet.com/installing-homebrew-os-x-yosemite-10-10-package-manager-unix-apps/

The easiest way to install various Unix tools and open source software onto Mac OS X is via a package manager, unfortunately OS X doesn’t come with one, but fortunately there are some good folks that care. They come in the form of Homebrew.

Homebrew isn’t the only option, also available is MacPorts and Fink but Homebrew is the newest and most popular of the trio.

Get Xcode

Download and install it, you also need to open Xcode agree to the license and it will install its components.

Get Command Line Tools

xcode-select --install

Install Homebrew

To download install Homebrew run the install script on the command line as below and let the script do its thing:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

Download and install Xquartz brew will moan if it is not installed.

After installing and as suggested in the command line, to check for any issues with the install run:

brew doctor

To search for an application:

brew search

To install

brew install <application-name>

To list all apps installed by Homebrew

brew list

To remove an installed application

brew remove <application-name>

To update Homebrew

 

brew update

To see what else you can do

man brew

Where does Homebrew install stuff …. in the Cellar

/usr/local/Cellar/

Where the brew lives.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值