PythonicdeMacBook-Pro:~ pythonic$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
==&> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==&> /usr/bin/sudo /bin/mkdir /usr/local
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
==&> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==&> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==&> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==&> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==&> Installing the Command Line Tools (expect a GUI popup):
==&> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line developer tools
Press any key when the installation has completed.
==&> Downloading and installing Homebrew...
remote: Counting objects: 196389, done.
remote: Compressing objects: 100% (53615/53615), done.
remote: Total 196389 (delta 142044), reused 195794 (delta 141599)
Receiving objects: 100% (196389/196389), 40.24 MiB | 52.00 KiB/s, done.
Resolving deltas: 100% (142044/142044), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -&> origin/master
HEAD is now at 4525585 elixir 1.0.0-rc2 (devel)
==&> Installation successful!
==&> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
2. 安裝 Python
PythonicdeMacBook-Pro:~ pythonic$ brew install python
==&> Installing dependencies for python: readline, sqlite, gdbm, openssl
==&> Installing python dependency: readline
==&> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.3.8.mavericks.bottle.tar.gz
######################################################################## 100.0%
==&> Pouring readline-6.3.8.mavericks.bottle.tar.gz
==&> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.
OS X provides the BSD libedit library, which shadows libreadline.
er to prevent conflicts when programs look for libreadline we are
ting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you"ll need to add to your
build variables:
==&> Summary
/usr/local/Cellar/readline/6.3.8: 40 files, 2.1M
==&> Installing python dependency: sqlite
==&> Downloading https://downloads.sf.net/project/machomebrew/Bottles/sqlite-3.8.6.mavericks.bottle.tar.gz
######################################################################## 100.0%
==&> Pouring sqlite-3.8.6.mavericks.bottle.tar.gz
==&> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
OS X provides an older sqlite3.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you"ll need to add to your
build variables:
curl: (35) Server aborted the SSL handshake
Error: Failed to download resource "gdbm"
Download failed: https://downloads.sf.net/project/machomebrew/Bottles/gdbm-1.11.mavericks.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==&> Downloading http://ftpmirror.gnu.org/gdbm/gdbm-1.11.tar.gz
######################################################################## 100.0%
==&> ./configure --prefix=/usr/local/Cellar/gdbm/1.11 --mandir=/usr/local/Cellar/gdbm/1.11/share/man --infodir=/usr/lo
==&> make install
/usr/local/Cellar/gdbm/1.11: 17 files, 532K, built in 39 seconds
==&> Installing python dependency: openssl
==&> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1i.mavericks.bottle.3.tar.gz
######################################################################## 100.0%
==&> Pouring openssl-1.0.1i.mavericks.bottle.3.tar.gz
==&> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
The OpenSSL provided by OS X is too old for some software.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you"ll need to add to your
build variables: