Life In The Stack Trace...

TODO: <Insert clever marketing phrase here>

Install rtorrent 0.9.0 on Ubuntu

So, today I decided to install the latest version of rtorrent. I dug around most of the doc found at:

http://libtorrent.rakshasa.no/

and attempted to install stable version 0.8.0, however, I could not get it to compile, so, I decided to give the unstable version 0.9.0 a shot.

I figured it would compile and install without a hitch as I have just have many development packages installed on my machine. There were two packages I needed to install to get libtorrent and rtorrent to compile and install. The following are the packages in question.

sudo apt-get install libcppunit-dev libsigc++-2.0-dev

Next, create a work directory and download the tarballs.

cd ~
mkdir work
cd work
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.13.0.tar.gz
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.9.0.tar.gz

Now, extract the tarballs.

tar -zxf libtorrent-0.13.0.tar.gz
tar -zxf rtorrent-0.9.0.tar.gz

The same steps are needed to compile and install libtorrent and rtorrent. cd libtorrent-0.13.0 ./autogen.sh ./configure make sudo make install

cd ../rtorrent-0.9.0
./autogen.sh
./configure
make
sudo make install

Next, the final and important step. sudo ldconfig

Otherwise, you are likely to see the following error message:

rtorrent: error while loading shared libraries: libtorrent.so cannot open shared object file: No such file or directory

Have a look at the video to see the install.