Installation and use of the class Apt-get tool brew on Mac

Source: Internet
Author: User

It's a pleasure to use Yum or apt-get to install software online for people who are accustomed to Linux systems. These tools can solve dependency problems. Makes the installation process simple and fast.

When using a Mac, you also think: Is there a similar software on Mac OS? Often investigation found that there is a similar software brew, also known as homebrew. We will describe the installation and usage of the software in detail below.

1. Installation

Brew is very easy to install, just need to enter a ruby command such as the following in the command line (MAC OS supports Ruby by default):

Ruby-e "$ (curl-fssl https://raw.github.com/Homebrew/homebrew/go/install)"

so the installation is complete, the whole process is not very easy. 2. Use

Brew is very similar to apt-get, and install means installation. Update indicates updates, uninstall means delete. So for people accustomed to linu operation, very easy to get started.

Face Reading specifically describes some of the operations that are often used.

To view installed packages:

Brew List
To install the package:
Brew Install Package
To uninstall a package:
Brew Uninstall Package
To find a package:
Brew search/wge*/
Here wge* is a regular form that needs to be included in//.
Update package
Brew Upgrade Package
Here are just a few of the frequently used command parameters, which you can use to view specific usage situations, using "Man Brew".




Installation and use of the class Apt-get tool brew on Mac

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.