Mac OS X Install Brew tool!

Source: Internet
Author: User
Tags install brew install homebrew tar xz


The earliest ports management was BSD, and then a powerful Debian, a dpkg+apt!.

Mac OS X is the first to use a lot of tools is macports, but now see this tool is a bit old, not very stable, then we recommend you install brew.

The commands for installing brew are as follows:

sudo su
-L http://github.com/mxcl/homebrew/tarball/master | tar xz--strip 1-c/usr/local


The brew command already exists in your system, using brew to install a RAR decompression tool Unrar! Here's how:

sudo brew install Unrar


If you want to uninstall it is also simple:

sudo brew uninstall Unrar


To find out if brew can install the tool you want, take lighttpd for example, the command is as follows:

/lighttpd*  /


If you cannot install homebrew if MacPorts is installed, you must first uninstall MacPorts:

$ sudo port-F Uninstall installed
$ sudo rm-Rf\
/Opt/Local \
/Applications/Darwinports \
/Applications/MacPorts \
/Library/Launchdaemons/Org.MacPorts.* \
/Library/Receipts/Darwinports*.Pkg\
/Library/Receipts/MacPorts*.Pkg\
/library/startupitems/darwinportsstartup \
/library/tcl/darwinports1. 0 \
/library/tcl/macports1. 0 \
~/.

Mac OS X Install Brew tool!

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.