Mac command-line installation software

Source: Internet
Author: User
Tags install brew

have been missing Ubuntu Apt-get, because it is convenient, need to install what, a command to do, the related dependencies are all maintained by Apt-get . Download, compile, install, that's called a jolly. What software with the uncomfortable, a command to uninstall!

Miss Apt-get , found an alternative tool MacPorts, said can also solve my problem. But unfortunately, I always can't update the local Software index library!

Brew is described in detail in the Homebrew home page , but we would like to download the actual walkthrough!

    1. Installing Brew
    2. Using Brew to install software
    3. Uninstalling Software with Brew
    4. Using Brew to retrieve software



1. Install Brew:

Shell Code
    1. CURL-LSSF Http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz-c/usr/local--strip 1


The above commands can be found on the official website!


2. Using Brew to install the software
Other tools do not say, wget, but the default on Mac!
Let's take it to the knife first:

Shell Code
    1. Brew Install wget



Even the installation of Tomcat:

Shell Code
    1. Brew Install Tomcat



or a unrar:

Shell Code
    1. Brew Install Unrar




3. Use Brew to uninstall the software
Easy to install, easy to uninstall:

Shell Code
    1. Brew Uninstall Unrar




4. Using Brew to retrieve software
See what we can search for:

Shell Code
    1. Brew search/apache*/




/apache*/ Use regular expressions, pay attention to using / separating!

At this point, Brew has been able to solve most of my software installation problems!

Mac command-line installation 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.