読者です 読者をやめる 読者になる 読者になる

aria2 のインストール

aria2 をインストールしたときのメモ。

Homebrew をインストールしてから、brew コマンドで aria2 をインストールするという流れ。

Homebrew のインストール

% /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...
==> The following directories will be made group writable:
/usr/local/.
==> The following directories will have their group set to admin:
/usr/local/.

Press enter to continue
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/.
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/.
==> Downloading and Installing Homebrew...
==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help

aria2 のインストール

% brew install aria2
Warning: You have Xcode 4.2.1, which is outdated.
Please install Xcode 4.3.
==> Installing aria2 dependency: pkg-config
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz
######################################################################## 100.0%
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/sh
==> make
==> make check
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/pkg-config/0.25: 9 files, 228K, built in 36 seconds
==> Installing aria2
==> Downloading http://downloads.sourceforge.net/project/aria2/stable/aria2-1.15.1/aria2-1.15.1.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/aria2/1.15.1
==> make install
/usr/local/Cellar/aria2/1.15.1: 49 files, 4.9M, built in 2.3 minutes

警告が出ているがとりあえずよしとする。

参考