Mac installation Homebrew

Source: Internet
Author: User
Tags curl

Homebrew official website http://brew.sh/index_zh-cn.html

Homebrew is the Horse of God

Linux system has a common problem of egg pain, package dependencies, in the current mainstream of the two major releases have their own solution, Red hat has yum,ubuntu apt-get

God horse, you use Mac OS, do not good intentions Mac OS Wood has similar east, tears ran in several toss finally found the third-party support: Homebrew,homebrew Short brew, is the Mac OSX software package management tools, can be conveniently installed in the Mac software or uninstall software, Can say homebrew is the Mac Apt-get, yum artifact

Homebrew Installation

Homebrew installation is very simple, open the terminal copy, paste the following command, enter, done (please rest assured that the original official installation method handling)

Ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

Homebrew use

Homebrew use not much to say, commonly used

Search Software: Brew search software name, such as Brew search wget

Install software: Brew install software name, such as Brew install wget

Uninstall software: Brew remove software name, such as brew remove wget centlingdemacbook-pro:openssl-1.0.2g centling$ ruby-e "$ (curl-fsslhttps://raw.g Ithubusercontent.com/homebrew/install/master/install) " ==> This script would install:
/usr/local/bin/brew
/usr/local/library/...
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo/bin/mkdir/usr/local
==> /usr/bin/sudo/bin/chmod g+rwx/usr/local
==> /usr/bin/sudo/usr/sbin/chown centling:admin/usr/local
==> /usr/bin/sudo/bin/mkdir/library/caches/homebrew
==> /usr/bin/sudo/bin/chmod g+rwx/library/caches/homebrew
==> /usr/bin/sudo/usr/sbin/chown centling/library/caches/homebrew
==> Downloading and installing Homebrew ...
Remote:counting objects:458, done.
Remote:compressing objects:100% (416/416), done.
Remote:total 458 (Delta), reused 277 (delta), pack-reused 0
Receiving objects:100% (458/458), 701.87 KiB | 116.00 kib/s, done.
Resolving deltas:100% (28/28), done.
From Https://github.com/Homebrew/brew
* [New branch] master, Origin/master
HEAD is now @ 496fff6 doco:more updates for core/formula separation
==> Tapping Homebrew/core
Cloning into '/usr/local/library/taps/homebrew/homebrew-core ' ...
Remote:counting objects:3660, done.
Remote:compressing objects:100% (3545/3545), done.
Remote:total 3660 (Delta), reused 425 (Delta 3), pack-reused 0
Receiving objects:100% (3660/3660), 2.75 MiB | 375.00 kib/s, done.
Resolving deltas:100% (17/17), done.
Checking connectivity ... done.
Tapped 3535 Formulae (3,686 files, 8.6M)
==> installation successful!
==> Next Steps
Run ' Brew help ' to get startedcentlingdemacbook-pro:openssl-1.0.2g centling$

Mac installation Homebrew

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.