NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jimmygza's avatar
jimmygza
Aspirant
Oct 18, 2010

Howto install rtorrent 0.8.6, the best torrent software!

UPDATE: I just tried to install version 0.9.2, but I couldn't compile libtorrent, if anyone is able to install it, please let me know!! Version 0.8.6 still works great!


Requirements:
1) RAIDiator-4.00c1-p2 or later.
2) The APT addon. Install it using the Frontview web UI under System -> Update -> Local Update.
3) The EnableRootSSH addon. Again, install using the Frontview web UI under System -> Update -> Local Update. This will allow you to SSH in to the NAS and bring up a shell command prompt.

If you DON'T want to allow root to ssh, then you create a <new user> with the WEB INTERFACE and give permissions to the <new user> to use screen and make the needed changes:

adduser <user> tty
chmod 664 /dev/ptmx

If you want to let the <new user> to be able to login, you would have to change their default shell by editing /etc/passwd from
/bin/false
to
/bin/bash


As allowing ssh root login is a security breach, I recommend adding a new user, then editing /etc/ssh/sshd_config to

PermitRootLogin no


Update:

apt-get update


Install the tools for compiling:

apt-get install libc6-dev gcc gdb libtag1-dev uuid-dev


Install rtorrent from source and required components (of course screen, because, without it rtorrent makes no sense)

apt-get install coreutils pkg-config g++ libncurses-dev libssl-dev libsigc++-2.0-dev curl libcurl4-openssl-dev screen


Now we download and install libtorrent, libcurl and rtorrent.

Compiling libtorrent takes about a half hour, the same goes for curl; rtorrent itself takes over an hour, so be prepared!

To install, run these commands:


cd /; wget libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz; tar -xvvzf libtorrent-0.12.6.tar.gz; cd libtorrent-0.12.6; ./configure sparc-linux; make; make install;

cd ..; wget curl.haxx.se/download/curl-7.25.0.tar.gz; tar -xvvzf curl-7.25.0.tar.gz; cd curl-7.25.0; ./configure --host=sparc-linux --build=sparc-linux --with-ssl; make; make install;

cd ..; wget libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz; tar -xvvzf rtorrent-0.8.6.tar.gz; cd rtorrent-0.8.6; ./configure sparc-linux; make; make install;



Now just put a config file ".rtorrent.rc" on the home directory of the user to run rtorrent:

http://libtorrent.rakshasa.no/export/1303/trunk/rtorrent/doc/rtorrent.rc

Now you can use rtorrent....

If you never used rtorrent before, first run "screen", then rtorrent. So that you can detach the screen (Ctrl-a + d) session and let rtorrent running. Then to come back again run "screen -rd"

7 Replies

Replies have been turned off for this discussion
  • I try to install rtorrent 0.8.9 and i have a problem.
    ReadyNAS Duo [X-RAID]
    RAIDiator 4.1.7 [1.00a043] (clean system, after Factory Default)

    # apt-get update
    # apt-get install libc6-dev
    # apt-get install gcc
    # apt-get install gdb
    # apt-get install libtag1-dev
    # apt-get install uuid-dev

    its ok


    and
    # apt-get install coreutils pkg-config g++ libncurses-dev libssl-dev libsigc++-2.0-dev curl libcurl3-dev screen
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Note, selecting libncurses5-dev instead of libncurses-dev
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libcurl3-dev: Depends: libcurl3 (= 7.13.2-2sarge5) but 7.19.7-1.netgear1 is to be installed
    E: Broken packages


    What may be the trouble? How may I solve the problem?
  • Only first part compiled so far but I think it will work.

    After checking for libcurl packages

    # apt-cache search libcurl3
    libcurl4-openssl-dev - Development files and documentation for libcurl (OpenSSL)
    libcurl3-dbg - libcurl compiled with debug symbols
    libcurl3-dev - Development files and documentation for libcurl
    libcurl3-gssapi - libcurl compiled with GSSAPI support
    python2.2-pycurl - Python bindings to libcurl
    python2.3-pycurl - Python bindings to libcurl
    python2.4-pycurl - Python bindings to libcurl
    tclcurl - Tcl bindings to libcurl
    libcurl3 - Multi-protocol file transfer library (OpenSSL)

    I installed libcurl4-openssl-dev. # apt-get install coreutils pkg-config g++ libncurses-dev libssl-dev libsigc++-2.0-dev curl libcurl4-openssl-dev screen

    I'll update after the packaging ends.
  • jimmygza wrote:
    Has anyone been able to install rtorrent 0.9.2?

    Installed it last week on my Ultra 2. I'm using the radiator beta though (RAIDiator 4.2.21-T4). As it fixed the apt-get update thingy.
  • I know this is an old thread but I wanted to comment anyways.
    Any luck on latest rtorrent yet?
    I had a TON of errors compiling too on an nv+.
  • jimmygza wrote:
    UPDATE:Compiling libtorrent takes about a half hour, the same goes for curl; rtorrent itself takes over an hour, so be prepared!

    To install, run these commands:


    cd /; wget libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz; tar -xvvzf libtorrent-0.12.6.tar.gz; cd libtorrent-0.12.6; ./configure sparc-linux; make; make install;



    On my readynas duo (v1 4.1.13) I try this method, with libtorrent 0.13.2 and have a problem...

    ./configure sparc-linux


    configure: error: Package requirements (sigc++-2.0) were not met:

    Package sigc++-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `sigc++-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'sigc++-2.0' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables STUFF_CFLAGS
    and STUFF_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    nas:~/libtorrent-0.13.2#


    The pkgconfig is in /usr/lib.

    When using bash, nothing changed:

    export PKG_CONFIG_PATH=/usr/lib/pkgconfig


    How to resolve the problem?

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More