Skip to content
root edited this page Aug 23, 2014 · 18 revisions

rTorrent install

Introduction

Most distros do not come with rtorrent compiled with xmlrpc-c. ruTorrent REQUIRES rtorrent to be compiled with xmlrpc-c.

Dependencies:

Installing xmlrpc-c

It's recommended that you use a newer version of xmlrpc-c.

For example, the svn version.

svn co http://svn.code.sf.net/p/xmlrpc-c/code/advanced xmlrpc-c
cd xmlrpc-c
./configure
make
make install

This installed xmlrpc-c-config to /usr/local/bin/xmlrpc-c-config

fetch and install rtorrent

Now, provided you have the other dependencies for rtorrent installed, you can install libtorrent and rtorrent as follows:

wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.13.4.tar.gz
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.4.tar.gz
tar xzfv libtorrent-0.13.4.tar.gz
tar xzfv rtorrent-0.9.4.tar.gz
cd libtorrent-0.13.4
./configure
make
make install
cd ../rtorrent-0.9.4/
./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
make
make install

On a FreeBSD system with Ports installed, all of the above can be done with a single line of code:

cd /usr/ports/net-p2p/rtorrent/ && make install clean

rtorrent Setup and Configuration =

rtorrent can be run as any user (or multiple users). Generally, it's a bad idea to run rtorrent as the root user, so create a unique user, and make sure to add a .rtorrent.rc. Make sure to enable scgi port with something like this:

scgi_port = 127.0.0.1:5001
Clone this wiki locally