1.Why?
网上写的教程都参差不齐,所以自己写了一下纯粹当做笔记。
2.How?
1).打开网址:http://github.com/mxcl/homebrew/tarball/master
会自动将一个名字为"Homebrew-homebrew-2871e09.tar"下载下来
2).打开OS X中的terminal
使用"sudo tar xvf Homebrew-homebrew-2871e09.tar -C/usr/local --strip 1"
tar命令不熟悉请自行Google :)
3.Test
for instance,install 『wget』
sudo brew install wget
测试wget:"wget www.github.com"
4.Uninstall
sudo brew uninstall wget
5.Search the softwares which were installed
sudo brew search /python*/