For those who are used to Linux, using Yum or apt-get to install software online is a pleasure. These tools can solve the dependency problem and make the installation process simple and quick. When using Mac, I also thought: Is there any similar software on Mac OS? Frequent surveys show that there is a similar software brew, also called homebrew. Next we will describe the installation and usage of the software in detail.
1. Install
Brew is easy to install. You only need to enter the following Ruby command in the command line (Mac OS supports Ruby by default ):
Ruby-e "$ (curl-fssl https://raw.github.com/Homebrew/homebrew/go/install )"
This completes the installation. Is the entire process very simple. 2. Use
Brew is similar to Apt-Get. Install indicates installation, update indicates update, and uninstall indicates deletion. Therefore, it is easy to get started with linu operations. This section describes common operations in detail.
View installed software packages:
Brew list
Installation package:
Brew install package
Uninstall the software package:
Brew uninstall package
Find the software package:
Brew search/WGE */
Here, WGE * is a regular expression that must be included in.
Update Software Package
Brew upgrade package
Here we only list several common command parameters. To learn more about the usage, use "Man brew.