Linux: How to install rTorrent on Most Distros

courtesy of muffs69.

This guide is made for users that have their own dedicated server / virtual private server (i.e. a Seedbox).

You will need root access to use this howto!

There are probably faster/better ways to do this, but this should work on most distros.

Tested on : Centos 5, Debian, Ubuntu.

Installing libsigc++ :

cd /usr/local/src
wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.17.tar.gz
tar -zxvf libsigc++-2.0.17.tar.gz
./configure -prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin
make
make install

Installing libtorrent : :

cd /usr/local/src
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.6.tar.gz
tar -zxvf libtorrent-0.11.6.tar.gz
./configure -prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin
make
make install

Installing libcurl : :

cd /usr/local/src
wget http://curl.haxx.se/download/curl-7.16.4.tar.gz
tar -zxvf curl-7.16.4.tar.gz
cd curl-7.16.4
./configure -prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin
make
make install

Installing rtorrent :

cd /usr/local/src
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.6.tar.gz
tar -zxvf rtorrent-0.7.6.tar.gz
cd rtorrent-0.7.6
./configure -prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin
make
make install

Now we copy the .rc config to your regular user, mine is bob

cp /usr/local/src/rotrrent-0.7.6/doc/rtorrent.rc /home/bob/.rtorrent.rc
chown bob:bob /home/bob/.rtorrent.rc

Now we start the rtorrent client on our regular account screen rtorrent

screen rtorrent

if you don’t got screen, use regular ways to get screen, like yum install screen or install from source.

How to exit a screen rtorrent:

Hold Control Down, Press A then D

Installing Screen if needed:

cd /usr/local/src
wget http://mirrors.usc.edu/pub/gnu/screen/screen-4.0.2.tar.gz
tar -zxvf screen-4.0.2.tar.gz
cd screen-4.0.2
./configure
make
make install

How to use rTorrent:

See Rtorrent Manual http://libtorrent.rakshasa.no/wiki/RTorrentUserGuide

Its also recommended to edit the .rtorrent.rc for tuning and port selection. It MAY also be needed to open the port for the rtorrent client in your firewall.

There’s always newer WebUI’s being developed, such as N2Hell, wtorrent, rTWi, and others. Check the http://libtorrent.rakshasa.no/wiki/UtilsList page for updated 3rd party utilities and frontends.