Installing some open source programs on your Mac, in addition to downloading and compiling it yourself (./configure && make && make install), the most convenient option is to use suite management tools to handle installation, upgrade, and removal.
Before Homebrew, the most common is macports and Fink, for MacPorts, it has a nasty feature is that it does not rely on the system has been installed in the package, completely into a board (of course, this is a kind of isolation advantage, if you do not want to cut off The/opt is removed). So often in order to install a small kit, it is also necessary to set up a bunch of its dependencies (such as repeating a set of perl,crazy! in your system), very time-consuming and space, and in the end it is not clear that it has a lot of do not know what to use the kit.
Homebrew to rely on the system already have the kit, its suite formula is written in simple Ruby, so you can fork Homebrew Repository self-modification maintenance, it self-management with Git, upgrade is very convenient.
How to install and use
Method One:
1. You must install Xcode before you can edit it.
2. Download Execute http://gist.github.com/323731
Method Two:
Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"
Open the terminal window and paste the above script. The script explains what it does, and then executes the installation under your confirmation. See here for advanced installation options (10.5 required).
After installation, the following instructions can be used
Brew Search Search Kit
Brew Info Query Suite information
What packages the Brew list has installed
Brew Update Update homebrew itself
Brew Install Installation Kit
For example, install wget and git in a few more commonly used tools, and then take care of it, cool!
Brew Install wget
Brew Install Git
For example:
Example usage: Brew [INFO | home | options] [FORMULA ...] Brew Install FORMULA ... Brew Uninstall FORMULA ... Brew Search [foo] brew list [FORMULA ...] Brew Update Brew upgrade [FORMULA ...] Brew Pin/unpin [FORMULA ...] Troubleshooting: Brew Doctor Brew INSTALL-VD FORMULA Brew [--env | config]brewing: BREW Create [URL] [ --no-fetch]] brew edit [FORMULA ...] Open Https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.mdFurther Help: Man Brew Brew Home
Homebrew New generation OS X Suite management tools to quickly install Git