How to Install the latest rtorrent and libtorrent in Ubuntu



rtorrent is a BitTorrent client for ncurses, using the libtorrent library. The client and library is written in C++ with emphasis on speed and efficiency, while delivering equivalent features to those found in GUI based clients in an ncurses client.

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.

Preparing Your System

Remove existing libtorrent and rtorrent if you have installed from repos

sudo apt-get remove rtorrent libtorrent7

Install Dependencies

sudo apt-get install build-essential libsigc++-2.0-dev pkg-config comerr-dev libcurl3-openssl-dev libidn11-dev libkadm55 libkrb5-dev libssl-dev zlib1g-dev libncurses5 libncurses5-dev

Install rtorrent and libtorrent

First you need to download libtorrent latest Version from here in /usr/local/ directory.

wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.1.tar.gz

sudo tar xvf libtorrent-0.11.1.tar.gz

cd libtorrent-0.11.1

sudo ./configure

sudo make

sudo make install

First you need to download rtorrent latest Version from here http://libtorrent.rakshasa.no/ in /usr/local/ directory.

wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.1.tar.gz

sudo tar xvf rtorrent-0.7.1.tar.gz

cd rtorrent-0.7.1

sudo ./configure

sudo make

sudo make install

Thats it your new versions of rtorrent and libtorrent is installed

Remove rtorrent and libtorrent

If you want to remove rtorrent and libtorrent use the following command go to /usr/local/ directory

rm -rf rtorrent-0.7.1.tar.gz rtorrent-0.7.1 libtorrent-0.11.1.tar.gz libtorrent-0.11.1




0 comments: