Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

  1. #1
    Join Date
    May 2006
    Location
    Texas
    Beans
    567

    HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    The repos are a bit behind in their rtorrent packaging. The version there is 0.5.3. So on that premise, I have the following howto for the latest.

    1. Alright, first dependencies. The following command should install them all.

    Code:
    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
    Also make sure you have removed the repository rtorrent and libtorrent, assuming you have them installed.

    Code:
    sudo apt-get remove rtorrent libtorrent7
    2. Get and install libtorrent 0.11.1. It installs in /usr/local.
    Code:
    cd
    wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.1.tar.gz
    tar xf libtorrent-0.11.1.tar.gz
    cd libtorrent-0.11.1
    ./configure
    make
    sudo make install
    3. Get and install rtorrent 0.7.1. Also installs in /usr/local.

    Code:
    cd
    wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.1.tar.gz
    tar xf rtorrent-0.7.1.tar.gz
    cd rtorrent-0.7.1
    ./configure
    make
    sudo make install
    4. Assuming you want to remove all the packaging and extracted directories.

    Code:
    cd
    rm -rf rtorrent-0.7.1.tar.gz rtorrent-0.7.1 libtorrent-0.11.1.tar.gz libtorrent-0.11.1
    And just run "rtorrent" to use it.

    EDIT: Apparently some people are having problems when they run rtorrent after the install and it not working. It looks like right after you install it is looking for /usr/bin/rtorrent when you do this instead of /usr/local/bin/rtorrent which is where the new one is installed. It is said below that logging out and logging back in will fix this, and I assume also that just typing /usr/local/bin/rtorrent will work too if you don't want to log out.

    Comments are welcome.
    Last edited by bruenig; March 7th, 2007 at 09:22 PM.

  2. #2
    Join Date
    Apr 2006
    Location
    Linkoping, Swed
    Beans
    3
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    Great HOWTO, worked perfectly for me. Thank you very much.

  3. #3
    Join Date
    Mar 2006
    Location
    Saskatchewan, Canada
    Beans
    28
    Distro
    Ubuntu

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    Also worked perfectly for me, I probably wouldn't have tried it if I hadn't found this How-To.

    Thanks.

    Now I just have to figure out how to use it. Any easy way of leaving it running, and still check it whenever you want?

    One more step keeping me from upgrading to Vista, and utorrent & wine do work quite nicely.

  4. #4
    Join Date
    Aug 2006
    Beans
    Hidden!

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    Worked great. Thank you!

  5. #5
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    I had the repository rtorrent installed (never noticed it was that outdated) and tried this guide to update it. First removed the old version using your "sudo apt-get remove rtorrent libtorrent7" line and then installed the newer versions. The install seemed to go without any hitch (or, at least it didn't give out any apparent error messages) but when I type rtorrent into the console I get "bash: /usr/bin/rtorrent: No such file or directory"

    Any idea what might be causing this and how to fix it?

  6. #6
    Join Date
    Mar 2005
    Beans
    96

    I had the same problem... and fixed it ;)

    @kotti

    Quote Originally Posted by kotti View Post
    ... but when I type rtorrent into the console I get "bash: /usr/bin/rtorrent: No such file or directory"

    Any idea what might be causing this and how to fix it?
    Log out and in again.
    It worked for me.

    /lprofil

    ps:
    Quote Originally Posted by kotti View Post
    (never noticed it was that outdated)
    Well, the philosophy of any distributor is to assemble a bunch of packages around the linux-kernel which work flawless together.
    Once it (almost) all works, the dirstro is released.

    To the time Edgy Eft (01-October-2006) was released, that version of rtorrent (0.5.3 - 23-May-2006 07:21) was quiet up to date.
    If you want to garantee that a distro works stable, you usually just upgrade few things and security issues.
    Newer versions of the programms are then available in the testing (later stable) releases - currently "Feisty Fawn".
    Last edited by lprofil; March 7th, 2007 at 01:17 PM.

  7. #7
    Join Date
    Nov 2006
    Beans
    96

    Re: I had the same problem... and fixed it ;)

    Thank you for bringing it to my attention that rtorrent from repo's are seriously outdated. rtorrent has always been my favorite (azureus bloat can burn along with anyone fool enough to use it). rtorrent does however like to seg fault a lot, namely when i start and stop various files with it or maybe open up 1 too many torrents. I'm interested to see the stability of this new release

  8. #8
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: I had the same problem... and fixed it ;)

    Quote Originally Posted by lprofil View Post
    @kotti

    Log out and in again.
    It worked for me.

    /lprofil
    Ah that did the trick. I was a bit puzzled when everything seemed to go fine with the install and it didn't work. Thanks!

    Edit: and of course thanks bruenig for the guide
    Last edited by kotti; March 7th, 2007 at 04:02 PM.

  9. #9
    Join Date
    Mar 2005
    Beans
    96

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    If you are fine with the bleeding edge unstable verion of rtorrent here are my adds to bruenigs tutorial.

    I describe how you install the current unstable version.
    They are 'libtorrent 0.11.2' and 'rtorrent 0.7.2'

    I also shrinked the commands to one line each and added the option -y to avoid apt-get
    asking you if you want to update, remove or whatever something.


    bruenigs modified composition:

    #1. Dependcies

    Code:
    sudo apt-get install -y 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
    #2. Remove all old version of rtorrent

    Code:
    sudo apt-get remove -y rtorrent libtorrent*

    #3. Get packages and unpack them

    Code:
    cd /opt && wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.2.tar.gz && wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.2.tar.gz && tar xf libtorrent* && tar xf rtorrent*
    #4. Configure / Compile / Install

    First for libtorrent:

    Code:
    cd /opt/libtorrent-0.11.2 && ./configure --prefix=/usr && make && sudo make install
    Then for rtorrent:
    Code:
    cd /opt/rtorrent-0.7.2 && ./configure --prefix=/usr && make && sudo make install
    #5. Cleaning up
    Code:
    cd /opt && rm -R libtor* && rm -R rtorr*
    If rtorrent does not start because you see this error message:

    Code:
    bash: /usr/bin/rtorrent: No such file or directory
    logout and login. It should work then


    Cheers
    /lprofil
    Last edited by lprofil; March 8th, 2007 at 09:22 PM.

  10. #10
    Join Date
    Aug 2006
    Beans
    382
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: install the latest rtorrent (0.7.1) and libtorrent (0.11.1)

    The newer versions you refer to are from the unstable branch.
    When I compiled it, I had no such problems with the file not being found.
    You may wish to try the follwing instead:

    Code:
    screen rtorrent
    Also, if you wish the files to be installed in /usr/bin and /usr/lib you can use the following configure syntax:

    Code:
    ./configure --prefix=/usr && make && sudo make install

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •