Installing libTorrent and rTorrent on Linux Centos

As requested by one of my blog reader, I write this libTorrent and rTorrent installation tutorial :) I’m installing libTorrent and rTorrent on a Xen based VPS with Linux Centos 5.4

From the project’s website:

LibTorrent is a BitTorrent library written in C++ for *nix, with a focus on high performance and good code. The library differentiates itself from other implementations by transfering directly from file pages to the network stack. On high-bandwidth connections it is able to seed at 3 times the speed of the official client.

To install libTorrent and rTorrent first we install the compiler and dependencies required

Download curl, libsigc++, libtorrent and rtorrent

Extract curl, libsigc++, libtorrent and rtorrent

Compile curl

Compile libsigc++

Compile libtorrent

Compile rtorrent

Download rtorrent sample configuration and rename it

You have to modify the content of .rtorrent.rc file to configure the settings of rTorrent as you needed and place the file into your user directory.

To download from torrent we need the .torrent file, for example to download Centos 5.4 DVD installation I run the command:

The screenshot of rTorrent downloading file
The screenshot of rTorrent downloading file

31 thoughts on “Installing libTorrent and rTorrent on Linux Centos”

Leave a Reply

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