Yosemiteインストールメモ

前準備

brew install済みのformula一覧を元にbrewfile.shを作るワンライナー - Qiita
を使って作成したファイル

#!/bin/sh
brew install autoconf
brew install curl
brew install exiftool
brew install faac
brew install ffmpeg
brew install gcc47
brew install gdbm
brew install gdk-pixbuf
brew install git
brew install groonga
brew install imagemagick
brew install libtasn1
brew install libvorbis
brew install libyaml
brew install mecab-ipadic
brew install nettle
brew install ossp-uuid
brew install phantomjs
brew install poppler
brew install sqlite

をbrewfile150502.shという名称で保存。

実行

(追記予定)

後処理

brewfile150502.shを実行。

$ 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
==> The following directories will be made group writable:
/usr/local/.
==> The following directories will have their group set to admin:
/usr/local/.

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /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 /usr/bin/chgrp admin /usr/local/.
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 3560, done.
remote: Compressing objects: 100% (3408/3408), done.
remote: Total 3560 (delta 35), reused 1474 (delta 19), pack-reused 0
Receiving objects: 100% (3560/3560), 2.70 MiB | 343.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 6a58bd1 afl-fuzz: update 1.77b bottle.
==> Installation successful!
==> Next steps
Run `brew help` to get started
$ sh brewfile150502.sh 
==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring autoconf-2.69.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/autoconf/2.69: 70 files, 3.1M
==> Downloading https://homebrew.bintray.com/bottles/curl-7.42.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring curl-7.42.1.yosemite.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.

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:

    LDFLAGS:  -L/usr/local/opt/curl/lib
    CPPFLAGS: -I/usr/local/opt/curl/include

==> Summary
🍺  /usr/local/Cellar/curl/7.42.1: 305 files, 2.9M
==> Downloading https://homebrew.bintray.com/bottles/exiftool-9.90.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring exiftool-9.90.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/exiftool/9.90: 199 files, 12M
==> Downloading https://homebrew.bintray.com/bottles/faac-1.28.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring faac-1.28.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/faac/1.28: 13 files, 712K
==> Installing dependencies for ffmpeg: x264, lame, libvo-aacenc, xvid
==> Installing ffmpeg dependency: x264
==> Downloading https://homebrew.bintray.com/bottles/x264-r2533.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring x264-r2533.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/x264/r2533: 9 files, 3.4M
==> Installing ffmpeg dependency: lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring lame-3.99.5.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/lame/3.99.5: 25 files, 2.1M
==> Installing ffmpeg dependency: libvo-aacenc
==> Downloading https://homebrew.bintray.com/bottles/libvo-aacenc-0.1.3.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libvo-aacenc-0.1.3.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libvo-aacenc/0.1.3: 15 files, 336K
==> Installing ffmpeg dependency: xvid
==> Downloading https://homebrew.bintray.com/bottles/xvid-1.3.3.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring xvid-1.3.3.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/xvid/1.3.3: 9 files, 1.3M
==> Installing ffmpeg
==> Downloading https://homebrew.bintray.com/bottles/ffmpeg-2.6.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ffmpeg-2.6.2.yosemite.bottle.tar.gz
==> Caveats
FFmpeg has been built without libfaac for licensing reasons;
libvo-aacenc is used by default.
To install with libfaac, you can:
  brew reinstall ffmpeg --with-faac

You can also use the experimental FFmpeg encoder, libfdk-aac, or
libvo_aacenc to encode AAC audio:
  ffmpeg -i input.wav -c:a aac -strict experimental output.m4a
Or:
  brew reinstall ffmpeg --with-fdk-aac
  ffmpeg -i input.wav -c:a libfdk_aac output.m4a
==> Summary
🍺  /usr/local/Cellar/ffmpeg/2.6.2: 204 files, 42M
Error: No available formula for gcc47 
Searching formulae...
Searching taps...
homebrew/versions/gcc47
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.11.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gdbm-1.11.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/gdbm/1.11: 17 files, 532K
==> Installing dependencies for gdk-pixbuf: gettext, libffi, glib, jpeg, libtiff, libpng, pkg
==> Installing gdk-pixbuf dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.4.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.19.4.yosemite.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 gettext library and some software gets confused if both are in the library path.

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:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.4: 1920 files, 21M
==> Installing gdk-pixbuf dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libffi-3.0.13.yosemite.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.

Some formulae require a newer version of libffi.

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:

    LDFLAGS:  -L/usr/local/opt/libffi/lib

==> Summary
🍺  /usr/local/Cellar/libffi/3.0.13: 14 files, 412K
==> Installing gdk-pixbuf dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.44.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.44.0.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/glib/2.44.0: 416 files, 18M
==> Installing gdk-pixbuf dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/jpeg/8d: 18 files, 776K
==> Installing gdk-pixbuf dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.3.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.3.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libtiff/4.0.3: 254 files, 3.8M
==> Installing gdk-pixbuf dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.17.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.17.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.17: 17 files, 1.2M
==> Installing gdk-pixbuf dependency: pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.28.yosemite.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring pkg-config-0.28.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/pkg-config/0.28: 10 files, 612K
==> Installing gdk-pixbuf dependency: gobject-introspection
==> Downloading https://homebrew.bintray.com/bottles/gobject-introspection-1.44.0.yosemite.bottle.2.
######################################################################## 100.0%
==> Pouring gobject-introspection-1.44.0.yosemite.bottle.2.tar.gz
🍺  /usr/local/Cellar/gobject-introspection/1.44.0: 196 files, 10M
==> Installing gdk-pixbuf
==> Downloading https://homebrew.bintray.com/bottles/gdk-pixbuf-2.30.8.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gdk-pixbuf-2.30.8.yosemite.bottle.1.tar.gz
==> Caveats
Programs that require this module need to set the environment variable
  export GDK_PIXBUF_MODULEDIR="/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders"
If you need to manually update the query loader cache, set GDK_PIXBUF_MODULEDIR then run
  /usr/local/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> /usr/local/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> Summary
🍺  /usr/local/Cellar/gdk-pixbuf/2.30.8: 209 files, 4.3M
==> Downloading https://homebrew.bintray.com/bottles/git-2.4.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-2.4.0.yosemite.bottle.tar.gz
==> Caveats
The OS X keychain credential helper has been installed to:
  /usr/local/bin/git-credential-osxkeychain

The "contrib" directory has been installed to:
  /usr/local/share/git-core/contrib

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/git/2.4.0: 1368 files, 31M
==> Installing dependencies for groonga: pcre, msgpack, openssl
==> Installing groonga dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.37.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.37.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/pcre/8.37: 146 files, 5.9M
==> Installing groonga dependency: msgpack
==> Downloading https://homebrew.bintray.com/bottles/msgpack-1.1.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring msgpack-1.1.0.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/msgpack/1.1.0: 81 files, 1.9M
==> Installing groonga dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2a-1.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2a-1.yosemite.bottle.1.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.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

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:

    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2a-1: 463 files, 18M
==> Installing groonga
==> Downloading https://homebrew.bintray.com/bottles/groonga-5.0.3.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring groonga-5.0.3.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/groonga/5.0.3: 1040 files, 24M
==> Installing dependencies for imagemagick: xz, libtool, freetype
==> Installing imagemagick dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.2.1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/xz/5.2.1: 59 files, 1.7M
==> Installing imagemagick dependency: libtool
==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtool-2.4.6.yosemite.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺  /usr/local/Cellar/libtool/2.4.6: 69 files, 3.8M
==> Installing imagemagick dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.5.5.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.5.5.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.5.5: 60 files, 2.6M
==> Installing imagemagick
==> Downloading https://homebrew.bintray.com/bottles/imagemagick-6.9.1-1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring imagemagick-6.9.1-1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/imagemagick/6.9.1-1: 1442 files, 22M
==> Downloading https://homebrew.bintray.com/bottles/libtasn1-4.5.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtasn1-4.5.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libtasn1/4.5: 56 files, 572K
==> Installing libvorbis dependency: libogg
==> Downloading https://homebrew.bintray.com/bottles/libogg-1.3.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libogg-1.3.2.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libogg/1.3.2: 95 files, 672K
==> Installing libvorbis
==> Downloading https://homebrew.bintray.com/bottles/libvorbis-1.3.5.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libvorbis-1.3.5.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libvorbis/1.3.5: 155 files, 2.6M
==> Downloading https://homebrew.bintray.com/bottles/libyaml-0.1.6_1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libyaml-0.1.6_1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/libyaml/0.1.6_1: 7 files, 352K
==> Installing mecab-ipadic dependency: mecab
==> Downloading https://homebrew.bintray.com/bottles/mecab-0.996.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring mecab-0.996.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/mecab/0.996: 18 files, 4.5M
==> Installing mecab-ipadic
==> Downloading https://downloads.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ip
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/mecab-ipadic/2.7.0-20070801 --with-charset=utf8
==> make install
🍺  /usr/local/Cellar/mecab-ipadic/2.7.0-20070801: 6 files, 16K, built in 19 seconds
==> Installing nettle dependency: gmp
==> Downloading https://homebrew.bintray.com/bottles/gmp-6.0.0a.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gmp-6.0.0a.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/gmp/6.0.0a: 15 files, 3.2M
==> Installing nettle
==> Downloading https://homebrew.bintray.com/bottles/nettle-2.7.1.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring nettle-2.7.1.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/nettle/2.7.1: 66 files, 1.7M
==> Downloading https://homebrew.bintray.com/bottles/ossp-uuid-1.6.2_1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ossp-uuid-1.6.2_1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/ossp-uuid/1.6.2_1: 16 files, 256K
==> Downloading https://homebrew.bintray.com/bottles/phantomjs-2.0.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring phantomjs-2.0.0.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/phantomjs/2.0.0: 58 files, 50M
==> Installing dependencies for poppler: fontconfig, pixman, cairo, little-cms2, openjpeg
==> Installing poppler dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
######################################################################## 100.0%
==> Pouring fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> /usr/local/Cellar/fontconfig/2.11.1/bin/fc-cache -frv
🍺  /usr/local/Cellar/fontconfig/2.11.1: 448 files, 3.6M
==> Installing poppler dependency: pixman
==> Downloading https://homebrew.bintray.com/bottles/pixman-0.32.6.yosemite.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring pixman-0.32.6.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/pixman/0.32.6: 11 files, 1.4M
==> Installing poppler dependency: cairo
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.14.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cairo-1.14.2.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/cairo/1.14.2: 116 files, 6.7M
==> Installing poppler dependency: little-cms2
==> Downloading https://homebrew.bintray.com/bottles/little-cms2-2.7.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring little-cms2-2.7.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/little-cms2/2.7: 16 files, 1.1M
==> Installing poppler dependency: openjpeg
==> Downloading https://homebrew.bintray.com/bottles/openjpeg-1.5.1_1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openjpeg-1.5.1_1.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/openjpeg/1.5.1_1: 18 files, 616K
==> Installing poppler
==> Downloading https://homebrew.bintray.com/bottles/poppler-0.29.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring poppler-0.29.0.yosemite.bottle.tar.gz
🍺  /usr/local/Cellar/poppler/0.29.0: 471 files, 24M
==> Installing sqlite dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-6.3.8.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring readline-6.3.8.yosemite.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.
In order to prevent conflicts when programs look for libreadline we are
defaulting 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:

    LDFLAGS:  -L/usr/local/opt/readline/lib
    CPPFLAGS: -I/usr/local/opt/readline/include

==> Summary
🍺  /usr/local/Cellar/readline/6.3.8: 40 files, 2.1M
==> Installing sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.8.9.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.8.9.yosemite.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:

    LDFLAGS:  -L/usr/local/opt/sqlite/lib
    CPPFLAGS: -I/usr/local/opt/sqlite/include

==> Summary
🍺  /usr/local/Cellar/sqlite/3.8.9: 9 files, 2.2M

ログは Yosemite Homebrew install log にも貼っておく。
また mecab-ipadic-neologd 関係のインストールも実行。
MacでRubyを使ってMeCabを利用する準備 - 別館 子子子子子子(ねこのここねこ)