Install software using brew on Mac

Source: Internet
Author: User

Install software using brew on Mac

Today, when I tried to use the rz and sz commands, I found that the mac didn't come with me. So I searched for the Installation Method for the command and finally chose Brew to install it.

First, we will introduce brew. Brew is also called Homebrew. It is a software package management tool on Mac OSX. It can easily install or uninstall software on Mac. It only requires one command, which is very convenient.

Brew is similar to apt-get In ubuntu.

Install brew

Brew official site: http://brew.sh/on the official site of brew usage is described in detail

Installation Method: Open Termal on Mac: Enter the command:

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 is often blocked in China. So I chose the second option, which is more reliable.

After brew is installed successfully, you can install the software you want, for example, wget. The command is as follows:
Sudo brew install wget

To uninstall the SDK, run the following command:
Sudo brew uninstall wget

Run the following command to view and install the software:
Sudo brew search/apache */
Note:/apache */is the regular expression used, which is separated.

Other brew commands

Brew list of installed software

Brew update updates brew

Brew home opens brew's official website in a browser

Brew info displays Software Information

Brew deps display package dependency

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.