Today want to use RZ, sz command when found that the Mac did not bring, so look for the installation of the command installation method, the final choice of brew installation.
Let's introduce brew first. 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
安装brew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
Or
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
The first is often unsuccessful, and the country is often blocked. So I choose the second kind, more reliable.
When the brew installation is successful, you can install the software you want, such as wget, as follows:
sudo brew install wget
If you uninstall, the command is as follows:
sudo brew uninstall wget
To view the installation software, the command is as follows:
sudo brew search/apache*/
Note:/apache*/is a regular expression used, used/split.
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 uses brew to install software