A Software Installation tool that has previously been in contact with Yum under Linux. Brew and Yum feel almost as good as installing the software.
Installation software does not know as long as the execution
Brew Search/wget*//nginx*/
/wge*/is a regular expression that needs to be included in the/
Brew, also known as homebrew, is the software package management tool on Mac OSX, it can easily install software or uninstall software in Mac, it is very convenient to use only one command.
Brew similar to the Apt-get functions of Ubuntu system
Read Catalogue
- Installing Brew
- Using Brew to install software
- Uninstalling Software with Brew
- Using Brew query Software
- Other Brew commands
Installing Brew
Brew's official website: http://brew.sh/index_zh-cn.html A detailed description of the use of Brew on the official website
Installation method: Open termal: Enter command in Mac:
" $ (curl-fssl https://raw.github.com/Homebrew/homebrew/go/install) "
Do not know why, in the country is often blocked
Using Brew to install software
A command is done, like installing Git.
Brew Install Git
such as installing wget
Brew Install wget
* Note If installation fails, you may not have enough permissions
To elevate permissions for brew:
sudo chown Root/usr/local/bin/brew
To switch to the root user:
sudo -s
Uninstalling Software with Brew
Uninstall is more convenient.
Brew Uninstall Wget
Using Brew query Software
Sometimes you don't know the name of the software you're installing, then you need to search for the name of the package first.
For example, I want to install
Brew search/wge*/
/wge*/is a regular expression that needs to be included in the/
Other Brew commands
Brew List lists installed software
Brew Update Update Brew
Brew Home opens Brew's official website with a browser
Brew Info Displays software information
Brew Deps Show Package dependencies
Mac Learning notes: Using Brew to install software