[mac] MacPortsから homebrewに移行してみた。

特に理由があったわけじゃないけれど、やってみました。

まずはバッティングがないように Macportsは消しておいた方が良いですよね。

$ sudo port -f uninstall installed


で、Homebrewの公式サイトに書いてあるワンライナーを実行
(先週、githubから502 Bad Gateway が返ってきてインストールできませんでした。Macports消したあとなので目も当てられない)

/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...

Press enter to continue
==> Downloading and Installing Homebrew...
==> Installation successful!
Now type: brew help


Macportsで入れたのに本体を消してしまった aspellを再インストール(Macportsで入れたリンクが残っていました)

$ brew info aspell
aspell 0.60.6.1
http://aspell.net/
Not installed

Dictionaries are not automatically installed, please specify the languages
for which you want dictionaries to be installed with the --lang option, e.g:
% brew install aspell --lang=en,es

For the following languages aspell dictionaries are available:
af, am, ar, ast, az, be, bg, bn, br, ca, cs, csb, cy, da, de, de_alt, el, en, eo, es, et, fa, fi, fo, fr, fy, ga, gd, gl, grc, gu, gv, he, hi, hil, hr, hsb, hu, hy, ia, id, is, it, kn, ku, ky, la, lt, lv, mg, mi, mk, ml, mn, mr, ms, mt, nb, nds, nl, nn, ny, or, pa, pl, pt_BR, pt_PT, qu, ro, ru, rw, sc, sk, sl, sr, sv, sw, ta, te, tet, tk, tl, tn, tr, uk, uz, vi, wa, yi, zu

http://github.com/mxcl/homebrew/commits/master/Library/Formula/aspell.rb


$ brew install aspell --lang=en


楽ちん