R.A. Epigonos et al.

[torrent] rtorrent をインストール

rtorrent は rtorrent 本体とlibtorrent からなる。調べると libtorrent はいくつも種類があるけど今回使うのは、rtorrent の作者 rakshasa の公開している libtorrent。debian stable の rtorent/libtorent が結構古めだったので。

まずはlibtorrentをダウンロードして解凍してディレクトリ移動

$ wget 'http://libtorrent.rakshasa.no/downloads/libtorrent-0.13.4.tar.gz'
$ tar zxf libtorrent-0.13.4.tar.gz
$ cd libtorrent-0.13.4/

手順の詳細はINSTALLに書いてある。いつも通りprefixはホームディレクトリ以下のoptにする。

$ sh ./configure --prefix=$(echo ~/opt/)
$ make
$ make check
$ make install

同様にrtorrentのビルド。

$ wget 'http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.4.tar.gz'
$ tar zxf rtorrent-0.9.4.tar.gz
$ cd rtorrent-0.9.4/
$ sh ./configure --prefix=$(echo ~/opt/) PKG_CONFIG_PATH=~/opt/lib/pkgconfig/
$ make
$ make check
$ make install

prefix をホームディレクトリ以下にしたので、以下のように起動。

$ ~/opt/bin/rtorrent

リファレンス

  1. Rtorrent by rakshasa
  2. 仕事で使える魔法のLAMP(12):configureの設定を変更してみる - @IT

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2008-08-30T05:44:12+09:00
  2. Modified: 2008-08-30T05:44:12+09:00
  3. Generated: 2023-08-27T23:09:16+09:00