Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created April 2, 2016 20:36
Show Gist options
  • Save ilovezfs/7aed2aa8aed3ebb791cc9ad93355b847 to your computer and use it in GitHub Desktop.
Save ilovezfs/7aed2aa8aed3ebb791cc9ad93355b847 to your computer and use it in GitHub Desktop.
leaves
iMac-TMP:~ joe$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/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
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/sbin/chown joe:admin /usr/local
==> Downloading and installing Homebrew...
remote: Counting objects: 4086, done.
remote: Compressing objects: 100% (3933/3933), done.
remote: Total 4086 (delta 36), reused 1852 (delta 20), pack-reused 0
Receiving objects: 100% (4086/4086), 3.36 MiB | 1.08 MiB/s, done.
Resolving deltas: 100% (36/36), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at ef70efa diagnostic: improve check for 'install_name_tool'
==> Tapping homebrew/core
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 3646, done.
remote: Compressing objects: 100% (3529/3529), done.
remote: Total 3646 (delta 12), reused 1682 (delta 4), pack-reused 0
Receiving objects: 100% (3646/3646), 2.70 MiB | 604.00 KiB/s, done.
Resolving deltas: 100% (12/12), done.
Checking connectivity... done.
Tapped 3524 formulae (3,673 files, 8.4M)
==> Installation successful!
==> Next steps
Run `brew help` to get started
iMac-TMP:~ joe$ brew install homebrew/python/matplotlib
==> Tapping homebrew/python
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-python'...
remote: Counting objects: 20, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 20 (delta 1), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (20/20), done.
Checking connectivity... done.
Tapped 16 formulae (59 files, 82.9K)
==> Installing matplotlib from homebrew/python
==> Installing dependencies for homebrew/python/matplotlib: gmp, mpfr, li
==> Installing homebrew/python/matplotlib dependency: gmp
==> Downloading https://homebrew.bintray.com/bottles/gmp-6.1.0.el_capitan.bottle
######################################################################## 100.0%
==> Pouring gmp-6.1.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/gmp/6.1.0: 17 files, 3.2M
==> Installing homebrew/python/matplotlib dependency: mpfr
==> Downloading https://homebrew.bintray.com/bottles/mpfr-3.1.3.el_capitan.bottl
######################################################################## 100.0%
==> Pouring mpfr-3.1.3.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/mpfr/3.1.3: 25 files, 3.5M
==> Installing homebrew/python/matplotlib dependency: libmpc
==> Downloading https://homebrew.bintray.com/bottles/libmpc-1.0.3.el_capitan.bot
######################################################################## 100.0%
==> Pouring libmpc-1.0.3.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libmpc/1.0.3: 11 files, 350.1K
==> Installing homebrew/python/matplotlib dependency: isl
==> Downloading https://homebrew.bintray.com/bottles/isl-0.15.el_capitan.bottle.
######################################################################## 100.0%
==> Pouring isl-0.15.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/isl/0.15: 70 files, 3.6M
==> Installing homebrew/python/matplotlib dependency: gcc
==> Downloading https://homebrew.bintray.com/bottles/gcc-5.3.0.el_capitan.bottle
######################################################################## 100.0%
==> Pouring gcc-5.3.0.el_capitan.bottle.tar.gz
==> Caveats
GCC has been built with multilib support. Notably, OpenMP may not work:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
If you need OpenMP support you may want to
brew reinstall gcc --without-multilib
==> Summary
🍺 /usr/local/Cellar/gcc/5.3.0: 1,390 files, 254.8M
==> Installing homebrew/python/matplotlib dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.21.el_capitan.bo
######################################################################## 100.0%
==> Pouring libpng-1.6.21.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.21: 25 files, 1.2M
==> Installing homebrew/python/matplotlib dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.6.3.el_capitan.b
######################################################################## 100.0%
==> Pouring freetype-2.6.3.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/freetype/2.6.3: 61 files, 2.5M
==> Installing homebrew/python/matplotlib dependency: homebrew/python/num
==> Downloading https://homebrew.bintray.com/bottles-python/numpy-1.11.0.el_capi
######################################################################## 100.0%
==> Pouring numpy-1.11.0.el_capitan.bottle.tar.gz
==> Caveats
If you use system python (that comes - depending on the OS X version -
with older versions of numpy, scipy and matplotlib), you may need to
ensure that the brewed packages come earlier in Python's sys.path with:
mkdir -p /Users/joe/Library/Python/2.7/lib/python/site-packages
echo 'import sys; sys.path.insert(1, "/usr/local/lib/python2.7/site-packages")' >> /Users/joe/Library/Python/2.7/lib/python/site-packages/homebrew.pth
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/joe/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/joe/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/numpy/1.11.0: 430 files, 9M
==> Installing homebrew/python/matplotlib
==> Downloading https://homebrew.bintray.com/bottles-python/matplotlib-1.5.1.el_
######################################################################## 100.0%
==> Pouring matplotlib-1.5.1.el_capitan.bottle.tar.gz
==> Caveats
If you want to use the `wxagg` backend, do `brew install wxpython`.
This can be done even after the matplotlib install.
If you use system python (that comes - depending on the OS X version -
with older versions of numpy, scipy and matplotlib), you may need to
ensure that the brewed packages come earlier in Python's sys.path with:
mkdir -p /Users/joe/Library/Python/2.7/lib/python/site-packages
echo 'import sys; sys.path.insert(1, "/usr/local/lib/python2.7/site-packages")' >> /Users/joe/Library/Python/2.7/lib/python/site-packages/homebrew.pth
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/joe/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/joe/Library/Python/2.7/lib/python/site-packages/homebrew.pth
==> Summary
🍺 /usr/local/Cellar/matplotlib/1.5.1: 3,087 files, 69.2M
iMac-TMP:~ joe$ brew leaves
gcc
homebrew/python/matplotlib
iMac-TMP:~ joe$ brew deps matplotlib
Error: No available formula with the name "homebrew/science/openblas"
Please tap it and then try again: brew tap homebrew/science
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment