Created
March 8, 2014 09:19
-
-
Save lopopolo/9427762 to your computer and use it in GitHub Desktop.
Relink all homebrew formulae after Mavericks upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
▶ brew list -1 | while read line; do brew unlink $line; brew link $line; done | |
Unlinking /usr/local/Cellar/appledoc/2.2... 0 links removed | |
Linking /usr/local/Cellar/appledoc/2.2... 1 symlinks created | |
Unlinking /usr/local/Cellar/autoconf/2.69... 0 links removed | |
Linking /usr/local/Cellar/autoconf/2.69... 18 symlinks created | |
Unlinking /usr/local/Cellar/bash-completion/1.3... 184 links removed | |
Linking /usr/local/Cellar/bash-completion/1.3... 182 symlinks created | |
Unlinking /usr/local/Cellar/bgrep/0.2... 0 links removed | |
Linking /usr/local/Cellar/bgrep/0.2... 1 symlinks created | |
Unlinking /usr/local/Cellar/binutils/2.24... 49 links removed | |
Linking /usr/local/Cellar/binutils/2.24... 92 symlinks created | |
Unlinking /usr/local/Cellar/bsdmake/24... 0 links removed | |
Linking /usr/local/Cellar/bsdmake/24... 3 symlinks created | |
Unlinking /usr/local/Cellar/cmake/2.8.12.2... 19 links removed | |
Linking /usr/local/Cellar/cmake/2.8.12.2... 18 symlinks created | |
Unlinking /usr/local/Cellar/ctags/5.8... 0 links removed | |
Linking /usr/local/Cellar/ctags/5.8... 4 symlinks created | |
Unlinking /usr/local/Cellar/eigen/3.2.0... 1 links removed | |
Linking /usr/local/Cellar/eigen/3.2.0... 2 symlinks created | |
Unlinking /usr/local/Cellar/faac/1.28... 0 links removed | |
Linking /usr/local/Cellar/faac/1.28... 8 symlinks created | |
Unlinking /usr/local/Cellar/ffmpeg/2.1.4... 81 links removed | |
Linking /usr/local/Cellar/ffmpeg/2.1.4... 81 symlinks created | |
Unlinking /usr/local/Cellar/flac/1.3.0... 2 links removed | |
Linking /usr/local/Cellar/flac/1.3.0... 18 symlinks created | |
Unlinking /usr/local/Cellar/freetype/2.5.2... 1 links removed | |
Linking /usr/local/Cellar/freetype/2.5.2... 7 symlinks created | |
Unlinking /usr/local/Cellar/gdbm/1.11... 0 links removed | |
Linking /usr/local/Cellar/gdbm/1.11... 11 symlinks created | |
Unlinking /usr/local/Cellar/gettext/0.18.3.2... 0 links removed | |
Warning: gettext is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/git/1.9.0... 219 links removed | |
Linking /usr/local/Cellar/git/1.9.0... 208 symlinks created | |
Unlinking /usr/local/Cellar/glib/2.38.2... 250 links removed | |
Linking /usr/local/Cellar/glib/2.38.2... 136 symlinks created | |
Unlinking /usr/local/Cellar/gmp/5.1.3... 0 links removed | |
Linking /usr/local/Cellar/gmp/5.1.3... 8 symlinks created | |
Unlinking /usr/local/Cellar/gnutls/3.2.12.1... 916 links removed | |
Linking /usr/local/Cellar/gnutls/3.2.12.1... 916 symlinks created | |
Unlinking /usr/local/Cellar/jasper/1.900.1... 0 links removed | |
Linking /usr/local/Cellar/jasper/1.900.1... 13 symlinks created | |
Unlinking /usr/local/Cellar/jpeg/8d... 0 links removed | |
Linking /usr/local/Cellar/jpeg/8d... 17 symlinks created | |
Unlinking /usr/local/Cellar/jsonpp/86.64... 0 links removed | |
Linking /usr/local/Cellar/jsonpp/86.64... 1 symlinks created | |
Unlinking /usr/local/Cellar/lame/3.99.5... 0 links removed | |
Linking /usr/local/Cellar/lame/3.99.5... 7 symlinks created | |
Unlinking /usr/local/Cellar/libffi/3.0.13... 0 links removed | |
Warning: libffi is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/libogg/1.3.1... 1 links removed | |
Linking /usr/local/Cellar/libogg/1.3.1... 7 symlinks created | |
Unlinking /usr/local/Cellar/libpng/1.5.18... 16 links removed | |
Linking /usr/local/Cellar/libpng/1.5.18... 16 symlinks created | |
Unlinking /usr/local/Cellar/libtasn1/3.4... 47 links removed | |
Linking /usr/local/Cellar/libtasn1/3.4... 47 symlinks created | |
Unlinking /usr/local/Cellar/libtiff/4.0.3... 1 links removed | |
Linking /usr/local/Cellar/libtiff/4.0.3... 106 symlinks created | |
Unlinking /usr/local/Cellar/libtool/2.4.2... 0 links removed | |
Linking /usr/local/Cellar/libtool/2.4.2... 17 symlinks created | |
Unlinking /usr/local/Cellar/libyaml/0.1.5... 5 links removed | |
Linking /usr/local/Cellar/libyaml/0.1.5... 5 symlinks created | |
Unlinking /usr/local/Cellar/little-cms/1.19... 1 links removed | |
Linking /usr/local/Cellar/little-cms/1.19... 17 symlinks created | |
Unlinking /usr/local/Cellar/nettle/2.7.1... 16 links removed | |
Linking /usr/local/Cellar/nettle/2.7.1... 16 symlinks created | |
Unlinking /usr/local/Cellar/nmap/6.40... 40 links removed | |
Linking /usr/local/Cellar/nmap/6.40... 24 symlinks created | |
Unlinking /usr/local/Cellar/node/0.10.26... 1402 links removed | |
Linking /usr/local/Cellar/node/0.10.26... 1192 symlinks created | |
Unlinking /usr/local/Cellar/openssl/1.0.1f... 0 links removed | |
Warning: openssl is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/ossp-uuid/1.6.2... 0 links removed | |
Warning: ossp-uuid is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/p11-kit/0.18.4... 3 links removed | |
Linking /usr/local/Cellar/p11-kit/0.18.4... 8 symlinks created | |
Unlinking /usr/local/Cellar/php54/5.4.22... 38 links removed | |
Linking /usr/local/Cellar/php54/5.4.22... 37 symlinks created | |
Unlinking /usr/local/Cellar/pidof/0.1.4... 0 links removed | |
Linking /usr/local/Cellar/pidof/0.1.4... 2 symlinks created | |
Unlinking /usr/local/Cellar/pil/1.1.7... 2 links removed | |
Linking /usr/local/Cellar/pil/1.1.7... 92 symlinks created | |
Unlinking /usr/local/Cellar/pixman/0.32.4... 1 links removed | |
Linking /usr/local/Cellar/pixman/0.32.4... 5 symlinks created | |
Unlinking /usr/local/Cellar/pkg-config/0.28... 0 links removed | |
Linking /usr/local/Cellar/pkg-config/0.28... 4 symlinks created | |
Unlinking /usr/local/Cellar/proctools/0.4pre1... 0 links removed | |
Linking /usr/local/Cellar/proctools/0.4pre1... 6 symlinks created | |
Unlinking /usr/local/Cellar/python3/3.3.4... 19 links removed | |
Linking /usr/local/Cellar/python3/3.3.4... 16 symlinks created | |
Unlinking /usr/local/Cellar/rbenv/0.4.0... 2 links removed | |
Linking /usr/local/Cellar/rbenv/0.4.0... 2 symlinks created | |
Unlinking /usr/local/Cellar/readline/6.2.4... 0 links removed | |
Warning: readline is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/ruby-build/20140225... 110 links removed | |
Linking /usr/local/Cellar/ruby-build/20140225... 110 symlinks created | |
Unlinking /usr/local/Cellar/scala/2.10.3... 1 links removed | |
Linking /usr/local/Cellar/scala/2.10.3... 12 symlinks created | |
Unlinking /usr/local/Cellar/spark/1.0.1... 0 links removed | |
Linking /usr/local/Cellar/spark/1.0.1... 1 symlinks created | |
Unlinking /usr/local/Cellar/sqlite/3.8.3... 0 links removed | |
Warning: sqlite is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. | |
Unlinking /usr/local/Cellar/ssh-copy-id/6.5p1... 2 links removed | |
Linking /usr/local/Cellar/ssh-copy-id/6.5p1... 2 symlinks created | |
Unlinking /usr/local/Cellar/tbb/4.1u1... 0 links removed | |
Error: tbb has multiple installed versions | |
Unlinking /usr/local/Cellar/texi2html/1.82... 0 links removed | |
Linking /usr/local/Cellar/texi2html/1.82... 4 symlinks created | |
Unlinking /usr/local/Cellar/tig/1.2.1... 1 links removed | |
Linking /usr/local/Cellar/tig/1.2.1... 2 symlinks created | |
Unlinking /usr/local/Cellar/unixodbc/2.3.2... 0 links removed | |
Linking /usr/local/Cellar/unixodbc/2.3.2... 28 symlinks created | |
Unlinking /usr/local/Cellar/unrar/5.0.14... 0 links removed | |
Linking /usr/local/Cellar/unrar/5.0.14... 1 symlinks created | |
Unlinking /usr/local/Cellar/wget/1.15... 2 links removed | |
Linking /usr/local/Cellar/wget/1.15... 2 symlinks created | |
Unlinking /usr/local/Cellar/x264/r2197.4... 1 links removed | |
Linking /usr/local/Cellar/x264/r2197.4... 6 symlinks created | |
Unlinking /usr/local/Cellar/xvid/1.3.2... 0 links removed | |
Linking /usr/local/Cellar/xvid/1.3.2... 3 symlinks created | |
Unlinking /usr/local/Cellar/xz/5.0.5... 1 links removed | |
Linking /usr/local/Cellar/xz/5.0.5... 53 symlinks created | |
Unlinking /usr/local/Cellar/yasm/1.2.0... 0 links removed | |
Linking /usr/local/Cellar/yasm/1.2.0... 12 symlinks created | |
Unlinking /usr/local/Cellar/youtube-dl/2014.03.04.1... 3 links removed | |
Linking /usr/local/Cellar/youtube-dl/2014.03.04.1... 3 symlinks created | |
Unlinking /usr/local/Cellar/zlib/1.2.8... 0 links removed | |
Warning: zlib is keg-only and must be linked with --force | |
Note that doing so can interfere with building software. |
Perfect.
Helpful, thank you
Huge +1. Note that some kegs won't relink without --force on purpose, such as readline or openssl. If you link them, be prepared that they become the defaults you'll build against.
4 years later this still does a decent job! +1
Amazing! Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
+1 thanks!