After publishing RTorrent on Raspberry Pi, I did not have enough time to try anything new with the Raspberry Pi, I got requests later to get RuTorrent working with RTorrent on Raspberry Pi.
I decided to use a bash script-based setup instead of step by step because it will end up having the same result but with better security measures as the script is written by a much-experienced person and maintained actively.

I would recommend doing this on a clean install for best result.

This setup will contain

  1. libtorrent/rtorrent (Latest/Compiled)
  2. SSH port reassigned
  3. VSFTPD (FTP client) random port assigned
  4. Webmin (Optional) (Admin interface)
  5. autodl-irssi
  6. rutorrent (Web UI)

Download the script

sudo bash -c "$(wget --no-check-certificate -qO -"
Code language: JavaScript (javascript)

Run the script

sudo bash rtinst.shCode language: CSS (css)

The script would respond shown below

Raspbian GNU/Linux 8.0 (jessie)Your Server IP/Name is Is this correct y/n? Code language: JavaScript (javascript)

Choose y
The next response would be to add a password to secure the web interface to the user pi

Set Password for RuTorrent web client Enter a password (6+ chars) or leave blank to generate a random one Please enter the new password:

The next response can take some time depending on the SD card speed and active tasks running in the background

No more user input required; you can complete unattended It will take approx. 10 minutes for the script to complete Updating package lists
Code language: JavaScript (javascript)

The final response after the process

crontab entries made. rtorrent and irssi will start on boot for pi ftp client should be set to explicit ftp over tls using port 48915 If enabled, access https downloads at rutorrent can be accessed at rutorrent password as set by user to change rutorrent password enter: rtpass IMPORTANT: SSH Port set to 26828 - Ensure you can login before closing this session The above information is stored in in your home directory. To see contents enter: cat /home/pi/ To install webmin enter: sudo rtwebmin PLEASE REBOOT YOUR SYSTEM ONCE YOU HAVE NOTED THE ABOVE INFORMATION

Note down the changed SSH and FTP port before exiting the SSH session, the script adds these information to a file named `` for later access.

ftp client should be set to explicit ftp over tls using port 43915 If enabled, access https downloads at rutorrent can be accessed at rutorrent password as set by user to change rutorrent password enter: rtpass ssh port changed to 21828Code language: PHP (php)

The script does even more, it adds diverse options and update functionality with the help of rtadmin

sudo rtadmin

It would respond with these options

Select from the following options: 1.) rtgetscripts - update the rtinst scripts 2.) rtadduser - add new user 3.) rtremove - delete a user 4.) rtdload enable - enable http downloads 5.) rtupdate - up/down-grade rtorent/libtorrent 6.) rutupgrade - upgrade to latest version of RuTorrent 7.) rtwebmin - install webmin Enter option or q to quitCode language: JavaScript (javascript)

Doing this whole process manually would take a lot of steps and longer time, this script does more and simplifies, things like the update, upgrade plugin management, thanks to arakasi72, the repository of the script is on GitHub
If you have more requests for such posts let me know in a comment or contact directly for feedback.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.

Join the Conversation


  1. This is probably a very silly question, but here i go lol
    I got ruTorrent up and running, I’ve also got an external hard drive mounted to /mnt/mydrive. How do I make ruTorrent download to this drive? Looks like the working directory of ruTorrent is /home/pi, do I need to elevate ruTorrent so it has root access?

    1. That’s a good question, in order to change the download directory you need to edit the `~/.rtorrent.rc` file, you can edit it using Nano, Vim.

      In the `~/.rtorrent.rc` file you should find a line that goes like this below.


      directory = /home/pi

      Or it might not be defined if not, you can add this line to it.

      directory = /mnt/mydrive/


      Here is a link to an example `rtorrent.rc` file

      Now restart the rutorrent server.

      After restarting the server, the new torrents should get download in the location you have set.

Leave a comment

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