Home > HowTo > rtorrent how to

rtorrent how to

I needed a simple linux torrent client that work via Proxy!
I tried Transfer,Deluge,uTorrent(via wine, very buggy!) none of them worked.
Deluge has a known bug of using proxy.
uTorrent worked for a bit by proxy but very buggy with wine and Linux Mint.

The solution was rTorrent a simple command line torrent client.
The documentation was not very easy to found but I made it work.
here is how:

sudo apt-get install rtorrent
or install via source from https://github.com/rakshasa/rtorrent
create the needed directories:
mkdir ~/rDownloads
mkdir ~/session
vi ~/.rtorrent.rc
To make it work right you will need to create a ~/.rtorrent.rc
Here is my example:

# Location where to download temporary files
 directory = ~/rDownloads

# Folder to save & resume rtorrent sessions
  session = ~/session

 http_proxy =
 proxy_address =

# Other Settings
 upload_rate = 30
 download_rate = 200
 peer_exchange = yes

# DHT options
 dht = auto
 dht_port = 8080
 peer_exchange = yes

# encryption = allow_incoming,try_outgoing ,enable_retry
 encryption = allow_incoming,enable_retry,prefer_plaintext
 port_random = yes

# custom throttles settings
 throttle_up = low,10
 throttle_down = low,10
 throttle_up = med,20
 throttle_down = med,20

  dht = auto
# rtorrent_Watch is a folder for new torrents
# schedule = watch_directory,0,10,load_start=~/rtorrent_Watch/*.torrent
# schedule = tied_directory,10,10,start_tied=
# schedule = untied_directory,10,10,close_untied=

# Enable the default ratio group

# Modify the limits, the defaults is optimal.
# Global upload and download rate in KiB. "0" for unlimited.
 download_rate = 0
 upload_rate = 1500
# ratio.min.set=10
# ratio.max.set=150
# ratio.upload.set=2M

# Modify the command triggered when the ratio is reached.
system.method.set = group.seeding.ratio.command, d.close=, d.erase=

# Transfer the finished torrents to rtorrent_FullDownload_Files folder
# system.method.set_key = event.download.finished,rm_torrent,"execute=rm,$d.get_tied_to_file="
# system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/rtorrent_FullDownload_Files/ ;d.set_directory=~/rtorrent_FullDownload_Files/"

A Quick Reference:

More information:

Categories: HowTo Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.