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)"
Last Login:mon Feb 8 18:00:37 on ttys000
yangchaodemacbook-air:~ yangchao$ ruby-e "$ (Curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/ Install) "
Curl: (+) Server aborted the SSL handshake
/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213: Warning:insecure World writable Dir/applications/cocos/tools/ant/bin in PATH, mode 040777
yangchaodemacbook-air:~ yangchao$
yangchaodemacbook-air:~ yangchao$ ruby-e "$ (Curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/ Install) "
/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15/rbconfig.rb:213: Warning:insecure World writable Dir/applications/cocos/tools/ant/bin in PATH, mode 040777
==> This script would install:
/usr/local/bin/brew
/usr/local/library/...
/usr/local/share/man/man1/brew.1
==> The following directories would be made group writable:
/usr/local/.
/usr/local/bin
==> The following directories'll has their owner set to Yangchao:
/usr/local/.
/usr/local/bin
==> The following directories'll has their group set to Admin:
/usr/local/.
/usr/local/bin
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo/bin/chmod g+rwx/usr/local/./usr/local/bin
Password:
==> /usr/bin/sudo/usr/sbin/chown yangchao/usr/local/./usr/local/bin
==> /usr/bin/sudo/usr/bin/chgrp admin/usr/local/./usr/local/bin
==> /usr/bin/sudo/bin/mkdir/library/caches/homebrew
==> /usr/bin/sudo/bin/chmod g+rwx/library/caches/homebrew
==> /usr/bin/sudo/usr/sbin/chown yangchao/library/caches/homebrew
==> Downloading and installing Homebrew ...
Remote:counting objects:4007, done.
Remote:compressing objects:100% (3852/3852), done.
Remote:total 4007 (Delta), reused 2031 (Delta), pack-reused 0
Receiving objects:100% (4007/4007), 3.26 MiB | 128.00 kib/s, done.
Resolving deltas:100% (35/35), done.
From Https://github.com/Homebrew/homebrew
* [New branch] master, Origin/master
HEAD is now at b3eed85 Rtags:add 2.1 bottle.
==> installation successful!
==> Next Steps
Run ' Brew help ' to get started
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
Installing PHP-FPM
Not finished, the following error
Installation and configuration of home-brew installation and Php,nginx environment under Mac