关于 linux系统软件包依赖,当前主流的两大发行版本:Red hat 有yum,Ubuntu 有apt-get
mac 相对于这两个平台就不是那么友好了。
Homebrew installs the stuff you need that Apple didn’t.——Homebrew 使 OS X 更完整
1、安装
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
yes 下去,一会就搞定了
2、基本使用方法
搜索软件:brew search 软件名,如brew search wget
安装软件:brew install 软件名,如brew install wget
卸载软件:brew remove 软件名,如brew remove wget
具体的可以查看 man 手册
$man brew
有了 brew ,稍微能弥补了mac 软件依赖包的不足
|