ruTorrent and rTorrent - changing versions
When you install rTorrent and ruTorrent from the Install Software link you're given the latest version that Feral provides. This is currently 0.9.8 in the case of rTorrent and 3.8 for ruTorrent.
Some trackers will restrict use of certain versions of rTorrent so it's handy to have some options. It's possible to install and use different versions of both rTorrent and ruTorrent if need be using the instructions in each section below. Whilst your choice of rTorrent is restricted to what is held at Feral it should be possible to install any new version of ruTorrent that's released without waiting for staff.
Naturally, this guide assumes you know how to install ruTorrent (and have done so). Plugins are also added either via SSH or FTP and you may need to connect to your slot via SSH to configure some plugins. You will be instructed to connect via SSH where this is the case.
Table of contents
Installing a different version of ruTorrent
The current version of ruTorrent installed is not the latest so if you wish to take advantage of any new features in the later version you'll need to install it manually. Before doing that, please take note of the following:
- The instructions assume you want the latest version of ruTorrent. If you want to install an earlier version for some reason you'll need to edit the first command to grab an earlier version (or upload it separately via FTP)
- The final command will result in your previous ruTorrent instance being removed and replaced. If you want it back you'd need to reinstall, either using the Install Software link on your manager page or manually (if the previous version is not installed by the Install Software link)
- Custom plugins you previously installed are not copied - this is because you should update them to match the version of ruTorrent you're using.
To install the latest version please execute the following via SSH:
cd ~/www/$(whoami).$(hostname -f)/public_html/ git clone https://github.com/Novik/ruTorrent.git cp -r rutorrent/conf/* ruTorrent/conf/ cp rutorrent/.ht* ruTorrent/ rm -rf rutorrent/ && mv ruTorrent/ rutorrent/
Installing a different version of rTorrent
The list below contains the versions of rTorrent and libtorrent that are available (the number after the _w is the libtorrent version number). The versions followed by a * were released in tandem and so should be preferred. Please note that versions ending in an odd number were classed as development releases so may have stability issues.
0.9.8_w0.13.8 * 0.9.6_w0.13.6 * 0.9.4_w0.13.6 0.9.4_w0.13.4 *
Older versions of rTorrent might not work very well with newer versions of ruTorrent so if you wish to use ruTorrent you may find yourself limited in the options you have.
Install the version and restart rTorrent to activate it as follows:
echo -n 'version' > ~/private/rtorrent/.version pkill -fu "$(whoami)" 'SCREEN -S rtorrent' screen -S rtorrent rtorrent
Replace version in the first line of the commands above with the full version from the list above.
You can verify the correct version is running with this command (you should see a process running which contains your chosen version number):
ps x | grep opt/rtorrent | grep -v grep
- When I restart rTorrent I get a message "screen is terminating"
Try starting up rTorrent without screen (just type rtorrent and press enter). If you see a message like the following, please double-check you've selected a correct version:
/usr/local/bin/rtorrent: line 24: /opt/rtorrent/version_entered/bin/rtorrent: No such file or directory
If you see a message like: Error in option file: ~/.rtorrent.rc:5: Command "directory.watch.added" does not exist. then you will need to comment out commands that prevent it from starting by prefixing the line with a