HowTo Compile rTorrent From SVN In Ubuntu 8.04 Hardy Heron

Want to support HowtoForge? Become a subscriber!
Submitted by sjau (Contact Author) (Forums) on Tue, 2008-05-20 12:41. :: Ubuntu

HowTo Compile rTorrent From SVN In Ubuntu 8.04 Hardy Heron

Author: Stephan Jau
Revision: v1.0
Last Change: May 15 2008


Torrent is a great way to transfer large files very quickly. However most torrent clients are gui based and have quite some impact on system resources (e.g. Azureus). rTorrent is a lightweight client running from the terminal. Being able to run it in a screen session (also upon boot) makes it ideal to also control it from a remote location.


How to use, support & help

The rTorrent homepage can be found here.
A basic guide on how to use rTorrent can be found here.
There's an irc support channel on #rtorrent and the official support channel is to be found on #libtorrent



In this tutorial I will use the defaults user home location and will download all the SVN files there. Specifically I'll use ~/rtorrent for the SVN files. Further you are supposed not to be logged in as root but as a normal user.


1. Get required packages

sudo apt-get install subversion build-essential libtool automake1.9 openssl libcurl3 libcurl3-dev libsigc++-2.0-0c2a libsigc++-2.0-dev libncurses5 libncurses5-dev

Note: Automake must be a newer version than 1.4. So other automake versions work also. I just used 1.9 here because I need it for something else also.


2. Create the rtorrent download folder

mkdir ~/rtorrent


3. Go to the rtorrent download folder

cd ~/rtorrent

Current location: /home/USER/rtorrent


4. Then get the latest trunk version

svn co svn://


5. Enter the trunk folder

cd trunk

Current location: /home/USER/rtorrent/trunk


6. Update rTorrent to the latest SVN version

svn up


7. Go to the libtorrent folder

cd libtorrent

Current location: /home/USER/rtorrent/trunk/libtorrent


8. Run the autogen script



9. Configure it



10. Compile libtorrent



11. Install libtorrent on the system

sudo make install


12. Alter /etc/

echo "include /usr/local/lib" | sudo tee -a /etc/


13. Rebuild the cache

sudo ldconfig


14. Go to the rTorrent folder

cd ../rtorrent

Current location: /home/USER/rtorrent/trunk/rtorrent


15. Run the autogen script



 16. Configure it



17. Compile rTorrent



18. Install rTorrent on the system

sudo make install


19. Run rTorrent


That's it and enjoy!


Update to newest version

If you want to update rTorrent later to the newest version, just start with step (6) from this howto.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Sun, 2009-03-01 22:10.
is this adaptable for debian lenny? greets
Submitted by y23 (registered user) on Thu, 2008-07-17 08:57.

The forum has a thread that deals with this howto article.

Submitted by m1lan (not registered) on Tue, 2008-11-11 02:26.

Thanks for this howto it works a charm on out of the box lenny beta 2.

Submitted by balintdavid (not registered) on Fri, 2010-04-23 19:07.

In Ubuntu 10.04 you also need libcppunit-dev for compiling