Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 1.39 KB

quickstart.rst

File metadata and controls

75 lines (45 loc) · 1.39 KB

Getting Started

Installing RTorrent

RTorrent is available for both Linux and OS X. Below are instructions for your specific system.

Mac OS X

RTorrent can be easily installed using Homebrew.

$ brew install rtorrent --with-xmlrpc-c

Ubuntu

The RTorrent has XML-RPC support already builtin.

$ sudo apt-get install rtorrent

Gentoo

To install RTorrent with XML-RPC support, ensure the proper USE flag is added.

$ sudo echo "net-p2p/rtorrent xmlrpc" >> /etc/portage/package.use
$ sudo emerge rtorrent

Configuring RTorrent

In order to open RTorrent's XMLRPC interface, scgi_port must be set in your ~/.rtorrent.rc:

scgi_port = localhost:5000

Configuring HTTP Access

Nginx:

server {
    listen 0.0.0.0:80
    location /RPC2 {
        include scgi_params;
        scgi_pass localhost:5000
    }
}

Installing rtorrent-python

rtorrent-python is easily installed by using the pip tool:

$ pip install rtorrent