Installation and Use of APT-Get tool brew on Mac

Source: Internet
Author: User

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.


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.