Tuesday, January 5, 2010

Compiling and installing libtorrent/rtorrent

Here are the steps to compile and install libtorrent/rtorrent.  The latest stable version of libtorrent/rtorrent is 0.12.6 and 0.8.6 respectively as of writing this article.  The tarballs can be obtained here.  Following commands must be run as root.
# apt-get install build-essential libssl-dev libssl0.9.8 libsigc++-2.0-dev libncurses5-dev libncursesw5-dev libcurl4-openssl-dev libssl-dev libssl0.9.8 libsigc++-2.0-dev libncurses5-dev libncursesw5-dev libcurl4-openssl-dev

# tar zxvf libtorrent-0.12.6.tar.gz
# cd libtorrent-0.12.6
# ./configure
# make
# make install
# ldconfig

# tar zxvf rtorrent-0.8.6.tar.gz
# cd rtorrent-0.8.6
# ./configure
# make
# make install
That's it :)  rtorrent is now installed in /usr/local/bin.

No comments: