Skip to main content

Rtorrent + Rutorrent – Auto Install script

rtorrent logoMy previous tutorial on Deluge Torrent is my most visited article. It’s probably also the service I use most often. I know Transmission is a an other popular one but I’ve never quite liked it. However I’ve always considered Rtorrent as the most powerful of those torrent clients.

Incredibly light, command line based with several addons and useful features that can be integrated (RSS Watch to follow your favorite trackers, Directory Watch to automatically add a torrent to rtorrent from a specific directory on your system, etc…) and most important, multi-users.

Rtorrent is being frequently used on most of the seedbox thanks to its lightweight and extensive configurations possibilities. Usually coupled with a web interface such as Wtorrent or RuTorrent. I used to install Wtorrent, but this one has not been updated for years. (But still works well tho).

However RuTorrent seems still well maintained, lightweight and can even run on some SOHO routers.

Rutorrent main window

Okay Rtorrent is great and can be coupled with RuTorrent, but why it’s not more popular? Well, the usual answer is, it’s much more complicated to install and configure than Deluge Torrent or Transmission Torrent. (That was my answer too before)

But thanks to Kerwood (And others), this is not true anymore. They made a simple script to install rtorrent + rutorrent in few command line, for either Debian Wheezy or Ubuntu 14.04. (Might works with others, but need to try and raise any issues)

And here is how to do it



You basically only need to clone their git repository, and run the script…

1) Install Git

If you don’t have git installed, simply run as root (or with sudo):

2) Clone their Git repository

Still in root, in the folder of your choice, run:

3) Make the script executable

You will have several scripts inside, pick the correct one for your system and make is executable

– For Debian, you will probably do:

– For Ubuntu:


It seems they have removed the ubuntu script and recommend directly to use the Debian one.

Simply use the Wheezy’s script for Ubuntu 13.04 or 14.04 and the Jessie’s script (adapted for the new default init system) for Ubuntu 15.04+

4) Run the script

Still in root:


if you are using Ubuntu.


The script will compile and install all the needed dependencies and will generate a standard configuration file, that you will be able to modify later on.

You will need to answer several questions such as providing a valid user to install those applications, to create one or several rtorrent users and even if you want to install some addons.

At the end of the installation, it will provide you the URL to access to your newly installed instance. Something like http://YourIP/rutorrent.


Yep, it is that easy!

29 thoughts on “Rtorrent + Rutorrent – Auto Install script

  1. Indeed, they have revised their git repository not long ago.

    For Ubuntu, now you can directly use their Debian one. (Should work without issue)
    Wheezy will be perfect for Ubuntu 13 and 14, while Jessie will work for Ubuntu 15+

    I’ll put a comment on the article directly

    Thanks for the feedback!

  2. I installed this on Ubuntu 14.05 using Wheezy. Everything works fine but I’m having trouble getting this to run at bootup.

    1. Hi,
      Have you tried with screen? or you could write a simple script with 1 command to launch and make this script executable and to be launched at boot time?

  3. im running ubuntu 15.05, used Jessie script, but now apache2 doesnt want to boot up after rebooting the system. any ideas?

    * Starting web server apache2 *
    * The apache2 configtest failed.
    Output of config test was:
    apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/scgi.load: No such file or directory
    Action โ€˜configtestโ€™ failed.
    The Apache error log may have more information.

    i checked directories to see if file exists here are results:

    qmx@sd-82918:/etc/apache2/mods-available$ ls -al|grep scgi*
    -rw-rโ€“rโ€“ 1 root root 89 Jan 3 2014 proxy_scgi.load

  4. Hi .. Awsome script .. I was wondering if is possible make this script work on Arch Linux .. I try to run it on Arch changing the terminal comands with no exit .. I wiil apreciate if you guys can make this run on Arch..

    Thanks: Ike

    1. Hi Ike,
      The dev of the script have only made it for Ubuntu/Debian style of distro I’m afraid…and I am very unfamiliar with Arch Linux….I will not be able to help much there.
      Let me know if you find a good alternative.


  5. Hi . Thanks for reply.. I have edited the script to install Rtorrent 0.9.6+libtorrent 0.13.6 and work like a charm on Debian Sid .. On Arch linux the problem is the apache server dont work properlly.. When I have some time I will test the script manually on Arch using nginx instead of apache.. Will let you know if works ..

    Thanks Ike …

  6. Can’t seem to make this work:

    I used wheezy script on 14.04 (kodibuntu).
    Installation goes smoothly, web-ui is running.
    However, going into the webui:
    1. Can’t save settings (I edit them, click OK, when I reload the web-page it resets).
    2. When I add torrents I get “- Torrent was added successfully.” but no torrent is added.
    3. I get a repetitive error

    “[03.11.2015 17:46:33] Bad response from server: (500 [error,list]) 500 Internal Server Error Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.7 (Ubuntu) Server at Port 80 ”

    Your help is appreciated.

  7. Hello and thank you.

    Super script that does allmost all . It doesn’t include any plugins in my Wheezy system – like create and filemanager ๐Ÿ˜‰

  8. Hi talmarsh,
    Is rtorrent running? It might explain why rutorrent have difficulties…
    Or it could be some access right issues (Rutorrent might be unable to modify the rtorrent files/folders?

    Hi Finn,
    Thanks for your comments and to share 2 plugins.

  9. Hi.. Welcome.. Im now able to install rtorrent on Arch Linux I have found a way to install it.. however rutorrent dont work on Arch but in Arch repo there exist some grafical app called ntorrent who does the same work of Rutorrent … If someone wanna know how to install a working Rtorrent on Arch Let me know ..

    Cheers !!!

  10. I’m Getting this error after installation is complete.
    No connection to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

    I searched for solution and in most of the sites, I was asked to check if i have any lock file in session folder but In my session folder there are no lock files.

    waiting for the answer.


      1. I didn’t try to manually start the rtorrent. In Background rtorrent is running but in UI/Browser i’m finding the above issue.

  11. Thank you!! I’ve installed several other scripts but for some reason rtorrent did not like me on Ubuntu 16. I used the Wheezy version with no problem. Thanks a million.

Leave a Reply

Your email address will not be published. Required fields are marked *