Look, if you're running LinHES then you're running a really lean linux distribution, so if you're into downloading stuff via torrents then you shouldn't resort to a bloated bittorrent client. You want rtorrent. But the user interface is really only for hard-core users, so there's a web-based interface to rtorrent, called wtorrent (which is one of many web-based rtorrent interfaces).

Installing rtorrentThis isn't too hard, but does mean compiling some stuff yourself. But don't be afraid, one of the advantages of an arch-based distribution is that you can use the awesome "Arch Build System". I've grabbed the necessary PKGBUILD files from the mainline arch.

rtorrent has two dependencies which need to be installed first. First libsigc++2.0

pkgname=libsigc++2.0pkgver=2.2.3pkgrel=1pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2"arch=(i686 x86_64)license=('LGPL')url="http://libsigc.sourceforge.net/"source=(http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${pkgver}.tar.bz2)depends=('gcc-libs>=4.3.2')options=(!libtool !emptydirs)md5sums=('f4574b343eebc4bff66a9e1e5ce6e490')

During the wtorrent setup you specify a torrent directory, I had to add that directory to the open_basedir variable in php.ini.

rtorrent as a serviceTo have rtorrent running all of the time you can add it to the list of runsvdir services. Just as an aside, this runit set of boot scripts and services is seriously good ... so simple and effective.

In /etc/sv create a directory called rtorrent (as root). In that directory create an executable file called run, containing

Thanks for the howto. I'm currently using torrentflux-b4rt on my LinHES box... it is pretty good, feature-rich, but sometimes sluggish (which was more of a problem on my older machine, after upgrading to my current MBE it has not been an issue).

I just looked at some of the wtorrent screenshots, and it seems to have a very nice web interface that supports multiple users. Any comments on file prioritization (i.e., prioritizing files within a torrent)? Or on how it compares to something like torrentflux?

I have rtorrent install and working (with magnet link support as well!) and I can run it as a daemon per your instructions however I need to have it startup in a screen on bootup so that I can interact with it manually when needed. Presently i can't add magnet links to rtorrent through the web frontend so I must add them manually.

Anyone have any ideas on how to modify the startup script to launch rtorrent in a screen???

Thanks,

Martian

ps: I have pacman packages for installing rtorrent with magnet link support that I would be happy to post along with instructions if someone knows of a good place to host the files (~5 MB)

Installing rtorrentThis isn't too hard, but does mean compiling some stuff yourself. But don't be afraid, one of the advantages of an arch-based distribution is that you can use the awesome "Arch Build System". I've grabbed the necessary PKGBUILD files from the mainline arch.

Thanks so much for the step by step tutorial.
To which extend your PKGBUILD files can be tuned to install libtorrent-0.12.6 / rtorrent-0.8.6 or any later version ? Is it just a matter of update for packages and dependencies names, or something else would change ?

Libtorrent / rtorrent is not available from LinHES repositories, but ArchLinux does provide the packages. With debian based distributions, I was used to 'pin' a few applications from repositories other than main ones (for instance, picking apps from "testing", when running "stable"). Does it make sense to do the same with LinHES, and 'pinning' libtorrent / rtorrent from ArchLinux repositories ? Could it ease later upgrades with LinHES ? Or does this potentially break LinHES and lead to more problems than it may solve ?

For R6 I reccommed transmission-cli for the LinHES repos. You can run the web interface in conjuction with the daemon. There are instructions when you install for the first time on how to set up a web proxy to make surfing to the web site extra easy.

It's not to difficult to craft a PKGBUILD for whatever version of libtorrent / rtorrent you want. As stated earlier in the thread you need to install / upgrade a for other packages as well but it's not to bad. Look into ABS and AUR for arch and you will find everything you need. If you have any questions feel free to hit me up.

I'm presently running an SVN version of libtorrent / rtorrent with Magnet Link support using an SVN version of rutorrent as the web frontend.

I can simply right click on a Magnet Link and select "copy link location" then paste it into the "start torrent" page in rutorrent and away it goes. It's stupid easy!

I tried several different torrent setups and rtorrent-svn + rutorrent was the best IMO.

Should have known it was something stupid and not my settings. I don't know what issue i was having, but something prompted me to update the version of xmlrpc-c. When i did that, i recompiled rtorrent, but not libtorrent. I have just recompile both and now it works again.

anyone using rtorrent and rutorrent on LInHes 7?My first few attempts broke mythfrontend when i installed some of the dependencies.

I had both running at one time although I've since moved my torrent setup to another box. I can't think of any rtorrent dependencies that should break mythfrontend. Are you building the packages yourself from AUR or did you change to the Arch repository and try to install rtorrent? Changing repositories and trying to install anything is a sure fire way to hose your system. You need to build the packages yourself from AUR.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum