MAC uses brew to install software

Source: Internet
Author: User

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

    • Brew's official website: http://brew.sh/A detailed description of the use of Brew on the official website

    • Installation method: Open termal: Enter command in Mac:

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

Related Article

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.