安装软件包依赖在Ubuntu下有 apt-get,Cendos下有yum,但是Mac下我一直在图形界面上面安装,有的还安装不了,知道发现有一款软件“homebrew”,解决了我心头大患。
Homebrew 安装
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Homebrew 使用,常用的
搜索软件:brew search 软件名,如brew search wget
安装软件:brew install 软件名,如brew install wget
卸载软件:brew remove 软件名,如brew remove wget
参考文档:http://blog.csdn.net/yangzhongxuan/article/details/8646457
http://blog.csdn.net/yuexiaxiaoxi27172319/article/details/51279369