Homebrew New generation OS X Suite management tools to quickly install Git

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.