Twitter Updates

Tuesday, 30 December 2008

rTorrent Manuall install

Manual Install of latest rtorrent (on ubuntu 8.04 )
Original (and incomplete) instructions from here (I also think that the /usr/local/ is not the correct place to be installing these things but I do not have a better choice)

First remove apt-get rtorrent install
$ sudo apt-get remove rtorrent
This will also remove some no longer needed dependencies

Install other dependancies (not too sure if these are really required but were mentioned in the original guide), Oddly enough not installed or removed by apt-get when installing rtorrent!
$ 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

When I did this the latest versions were rtorrent 8.4/ libtorrent 12.4
$ cd /usr/local/
$ sudo wget
$ sudo wget

$ sudo tar xvf libtorrent-0.12.4.tar.gz
$ sudo tar xvf rtorrent-0.8.4.tar.gz

$ cd libtorrent-0.12.4
$ ./configure
$ make
$ sudo make install

$ cd rtorrent-0.8.4
$ ./configure
$ make
$ sudo make install

And where is it installed? taking a closer look at the readme's it should have put executables in /usr/bin.

$ sudo find / -name rtorrent
The binary executable has been left in the source folder!

$ cd /usr/local/rtorrent-0.8.4
$ sudo cp src/rtorrent /usr/local/bin/
$ ll /usr/local/bin/
> -rwxr-xr-x 1 root root 12168526 2008-12-31 10:13 rtorrent
$ which rtorrent
> /usr/local/bin/rtorrent
$ sudo ldconfig

Seems to be working ok, but getting some errors about my ~/.rtorrent.rc file containing invalid options.

No comments: