MainInstall.fr - Novik/ruTorrent GitHub Wiki


= rTorrent install =

<wiki:toc />

== Introduction ==

Most distros do not come with [http://libtorrent.rakshasa.no/ rtorrent] compiled with [http://xmlrpc-c.sourceforge.net/ xmlrpc-c] Rutorrent REQUIRES [http://libtorrent.rakshasa.no/ rtorrent] to be compiled with [http://xmlrpc-c.sourceforge.net/ xmlrpc-c]

== Dependencies: ==

  • [http://gcc.gnu.org/ gcc]
  • [http://www.gnu.org/software/ncurses/ ncurses]
  • [http://libsigc.sourceforge.net/ libsigc++-2.0]
  • [http://www.openssl.org/ libssl]
  • [http://xmlrpc-c.sourceforge.net/ xmlrpc-c]
  • recommended [http://subversion.apache.org/ subversion] (for downloading latest xmlrpc-c version)

== Installing xmlrpc-c == It's recommended that you use a newer version of [http://xmlrpc-c.sourceforge.net/ xmlrpc-c]

For example, the svn version.

{{{ svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/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 (note: currently, the svn version of rtorrent has some changes in the xmlrpc-c api, please use the lates STABLE version of rtorrent, 0.8.6

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

(_note: on a [http://www.freebsd.org/ FreeBSD] system with [http://www.freebsd.org/ports/ 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 [http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest .rtorrent.rc]

make sure to enable scgi port with something like this:

{{{

scgi_port = 127.0.0.1:5001 }}}

⚠️ **GitHub.com Fallback** ⚠️