![]() |
HowTo.InstallRtorrentOnDebain HistoryHide minor edits - Show changes to markup September 24, 2009, at 09:49 PM
by --
Changed lines 1-163 from:
(:title Installing rtorrent on a Debian etch NSLU2:) Outdated Package in etchThe rtorrent package in the Debian etch arm repository is version 0.6.4. The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4. The latest releases of rtorrent are,
The Build EnvironmentThe deb packages mentioned below have been built in an etch build environment using QEMU. The rtorrent package and its dependencies were built in the QEMU environment using Debian package sources. The PackagesThe libtorrent and rtorrent package sources come from Jose Luis Rivas's debian repository. Thanks Jose. The packages are,
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources. They install fine on an etch slug without requiring any further lenny package dependencies. The rtorrent package has been built with XMLRPC enabled. Install CommandsThe commands below will install rtorrent on a NSLU2 running Debian etch. 0.8.2 - Stable#------------------------------------------------------------------------- apt-get update apt-get install libwww-ssl0 wget wget http://waka.freehostia.com/nslu2/bin/libssh2-1_0.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libcurl3_7.17.1-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3_1.06.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb dpkg -i libssh2-1_0.18-1_arm.deb dpkg -i libcurl3_7.17.1-1_arm.deb dpkg -i libxmlrpc-c3_1.06.18-1_arm.deb dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb rm libssh2-1_0.18-1_arm.deb rm libcurl3_7.17.1-1_arm.deb rm libxmlrpc-c3_1.06.18-1_arm.deb rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb apt-get clean #------------------------------------------------------------------------- 0.8.4 - Unstable#------------------------------------------------------------------------- apt-get update apt-get install libwww-ssl0 wget wget http://waka.freehostia.com/nslu2/bin/libssh2-1_0.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libcurl3_7.17.1-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3_1.06.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libtorrent11_0.12.4-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.4-1_arm.deb dpkg -i libssh2-1_0.18-1_arm.deb dpkg -i libcurl3_7.17.1-1_arm.deb dpkg -i libxmlrpc-c3_1.06.18-1_arm.deb dpkg -i libtorrent11_0.12.4-1_arm.deb dpkg -i rtorrent_0.8.4-1_arm.deb rm libssh2-1_0.18-1_arm.deb rm libcurl3_7.17.1-1_arm.deb rm libxmlrpc-c3_1.06.18-1_arm.deb rm libtorrent11_0.12.4-1_arm.deb rm rtorrent_0.8.4-1_arm.deb apt-get clean #------------------------------------------------------------------------- Control rtorrent with PerlIf you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module. Install commands for lighttpd and XML::RPC. Run as root. #------------------------------------------------------------------------- apt-get update apt-get install lighttpd wget http://waka.freehostia.com/nslu2/bin/libhttp-lite-perl_2.1.6-1_all.deb wget http://waka.freehostia.com/nslu2/bin/libxml-treepp-perl_0.33-1_all.deb wget http://waka.freehostia.com/nslu2/bin/libxml-rpc-perl_0.8-1_all.deb dpkg -i libhttp-lite-perl_2.1.6-1_all.deb dpkg -i libxml-treepp-perl_0.33-1_all.deb dpkg -i libxml-rpc-perl_0.8-1_all.deb rm libhttp-lite-perl_2.1.6-1_all.deb rm libxml-treepp-perl_0.33-1_all.deb rm libxml-rpc-perl_0.8-1_all.deb apt-get clean #------------------------------------------------------------------------- Once you have setup /etc/lighttpd/lighttpd.conf, you can test the RPC connection from XML::RPC to rtorrent with the simple Perl script below. Happy hacking ! #-------------------------------------------------------------------------
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
use XML::RPC;
my $xmlrpc = XML::RPC->new('http://localhost/RPC2');
my $result = $xmlrpc->call( 'system.listMethods' );
print Dumper $result;
exit;
#-------------------------------------------------------------------------
Install the xmlrpc-c general purpose clientIf you find XML::RPC too slow, you might want to try the xmlrpc client. Install commands for xmlrpc. Run as root. #------------------------------------------------------------------------- wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3-dev_1.06.18-1_arm.deb mkdir libxmlrpc-c3-dev_1.06.18-1_arm_tmp dpkg --extract libxmlrpc-c3-dev_1.06.18-1_arm.deb libxmlrpc-c3-dev_1.06.18-1_arm_tmp/ cp libxmlrpc-c3-dev_1.06.18-1_arm_tmp/usr/bin/xmlrpc /usr/bin/xmlrpc rm -rf libxmlrpc-c3-dev_1.06.18-1_arm_tmp rm libxmlrpc-c3-dev_1.06.18-1_arm.deb #------------------------------------------------------------------------- Another wayYou can also download the latest unstable from the NSLU2 rtorrent google group; The compile is for lenny. to:
Delete Me November 25, 2008, at 10:21 AM
by -- Updated Stable to 0.8.2. Unstable now 0.8.4
Changed line 37 from:
to:
November 25, 2008, at 10:20 AM
by -- Updated Stable to 0.8.2. Unstable now 0.8.4
Changed line 12 from:
to:
Changed lines 34-35 from:
to:
Changed line 50 from:
0.7.9 - Stableto:
0.8.2 - StableChanged lines 58-60 from:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.11.9-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.7.9-1_arm.deb to:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb Changed lines 64-66 from:
dpkg -i libtorrent10_0.11.9-1_arm.deb dpkg -i rtorrent_0.7.9-1_arm.deb to:
dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb Changed lines 70-72 from:
rm libtorrent10_0.11.9-1_arm.deb rm rtorrent_0.7.9-1_arm.deb to:
rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb November 25, 2008, at 01:00 AM
by -- rtorrent_0.8.4-1_arm.deb now avalible for download
Changed line 35 from:
to:
Changed lines 37-39 from:
to:
November 25, 2008, at 12:55 AM
by -- rt
Deleted lines 14-16:
Installing 0.8.2 unstable is described below. Changed lines 161-163 from:
to:
You can also download the latest unstable from the NSLU2 rtorrent google group; The compile is for lenny. November 25, 2008, at 12:52 AM
by -- rtorrent_0.8.4-1_arm.deb now avalible for download
Changed line 93 from:
dpkg -i libtorrent10_0.12.4-1_arm.deb to:
dpkg -i libtorrent11_0.12.4-1_arm.deb Changed line 99 from:
rm libtorrent10_0.12.4-1_arm.deb to:
rm libtorrent11_0.12.4-1_arm.deb November 25, 2008, at 12:51 AM
by -- rtorrent_0.8.4-1_arm.deb now avalible for download
Changed line 87 from:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.4-1_arm.deb to:
wget http://waka.freehostia.com/nslu2/bin/libtorrent11_0.12.4-1_arm.deb November 25, 2008, at 12:49 AM
by -- rtorrent_0.8.4-1_arm.deb now avalible for download
Changed lines 40-42 from:
to:
Changed line 79 from:
0.8.2 - Unstableto:
0.8.4 - UnstableChanged lines 87-89 from:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb to:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.4-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.4-1_arm.deb Changed lines 93-95 from:
dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb to:
dpkg -i libtorrent10_0.12.4-1_arm.deb dpkg -i rtorrent_0.8.4-1_arm.deb Changed lines 99-101 from:
rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb to:
rm libtorrent10_0.12.4-1_arm.deb rm rtorrent_0.8.4-1_arm.deb November 24, 2008, at 10:08 PM
by -- Unstable set to 0.8.4 plus formating
Changed line 15 from:
Installing 0.8.2 unstable is described below. to:
Installing 0.8.2 unstable is described below.\\ November 24, 2008, at 10:07 PM
by -- Updated Unstable to 0.8.4
Changed lines 13-14 from:
to:
Installing 0.8.2 unstable is described below. You can also download the latest unstable from the NSLU2 rtorrent google group; the compile is for lenny. November 09, 2008, at 07:52 PM
by -- Corrected back
Changed lines 13-14 from:
to:
November 09, 2008, at 06:58 PM
by -- Corrected the reference to the google group; this should not be used by Debian users
Changed lines 13-14 from:
to:
October 26, 2008, at 09:27 AM
by -- Forgot closing parenthesis - sorry, but preview doesn\'t work
Changed lines 13-14 from:
to:
October 26, 2008, at 09:27 AM
by -- Info on the rtorrent google group
Changed lines 13-14 from:
to:
October 12, 2008, at 06:44 PM
by -- Latest rtorrent unstable is 0.8.3
Changed lines 13-14 from:
to:
May 20, 2008, at 06:26 PM
by --
Changed line 16 from:
The deb packages mentioned below have been built in a etch build environment using QEMU.\\ to:
The deb packages mentioned below have been built in an etch build environment using QEMU.\\ Changed lines 24-26 from:
The libtorrent and rtorrent packages sources come from Jose Luis Rivas's debian repository. Thanks Jose. to:
The libtorrent and rtorrent package sources come from Jose Luis Rivas's debian repository. Thanks Jose. May 20, 2008, at 06:16 PM
by -- Introduce Stable and Unstable versions of rtorrent
Changed line 40 from:
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources.\\ to:
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources. May 20, 2008, at 06:11 PM
by --
Changed lines 12-14 from:
*0.7.9 Stable*0.8.2 Unstableto:
Changed lines 27-28 from:
The packages are, to:
The packages are, May 20, 2008, at 06:08 PM
by --
Added lines 6-10:
The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4. Changed lines 12-17 from:
The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4. to:
*0.7.9 Stable*0.8.2 UnstableChanged lines 25-26 from:
The Stable and Unstable rtorrent packages versions in this page are dependant on the rtorrent releases Jose has been able to package for debian. to:
The Stable and Unstable rtorrent packages versions in this page are dependant on the rtorrent releases Jose has been able to package for debian. Changed line 49 from:
Stable 0.7.9to:
0.7.9 - StableChanged line 75 from:
Unstable 0.8.2to:
0.8.2 - UnstableMay 20, 2008, at 06:03 PM
by --
Changed lines 6-9 from:
The latest releases of rtorrent are to:
The latest releases of rtorrent are,
May 20, 2008, at 06:01 PM
by -- List both stable and unstable rtorrent packages
Changed line 1 from:
(:title Installing rtorrent 0.8.2 on a Debian etch NSLU2:) to:
(:title Installing rtorrent on a Debian etch NSLU2:) Changed lines 6-9 from:
The latest release of rtorrent is 0.8.2.\\ to:
The latest releases of rtorrent are Changed line 13 from:
Build from Debian Source Packagesto:
The Build EnvironmentChanged lines 17-18 from:
The rtorrent package and its dependencies were built in the QEMU environment using Debian package sources. etch dev packages were installed with apt-get where possible, and lenny packages built where necessary. to:
The rtorrent package and its dependencies were built in the QEMU environment using Debian package sources. Added lines 21-24:
The PackagesThe libtorrent and rtorrent packages sources come from Jose Luis Rivas's debian repository. Thanks Jose. Changed lines 26-32 from:
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources. to:
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources.\\ Changed line 44 from:
The install procedure has been tested on a slug that already had rtorrent_0.7.9 installed and a slug that had a clean OS install.\\ to:
The install procedure has been tested on a slug that already had rtorrent installed and a slug that had a clean OS install.\\ Added lines 46-47:
Stable 0.7.9Changed lines 55-57 from:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb to:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.11.9-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.7.9-1_arm.deb Changed lines 61-63 from:
dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb to:
dpkg -i libtorrent10_0.11.9-1_arm.deb dpkg -i rtorrent_0.7.9-1_arm.deb Changed lines 67-69 from:
rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb to:
rm libtorrent10_0.11.9-1_arm.deb rm rtorrent_0.7.9-1_arm.deb Changed lines 73-78 from:
Control rtorrent with PerlIf you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module. Install commands for lighttpd and XML::RPC. Run as root. to:
Unstable 0.8.2Added lines 76-106:
apt-get install libwww-ssl0 wget wget http://waka.freehostia.com/nslu2/bin/libssh2-1_0.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libcurl3_7.17.1-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3_1.06.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb dpkg -i libssh2-1_0.18-1_arm.deb dpkg -i libcurl3_7.17.1-1_arm.deb dpkg -i libxmlrpc-c3_1.06.18-1_arm.deb dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb rm libssh2-1_0.18-1_arm.deb rm libcurl3_7.17.1-1_arm.deb rm libxmlrpc-c3_1.06.18-1_arm.deb rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb apt-get clean
Control rtorrent with PerlIf you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module. Install commands for lighttpd and XML::RPC. Run as root. [@#------------------------------------------------------------------------- apt-get update May 10, 2008, at 04:16 PM
by -- text clean up following upgrade from rtorrent 0.7.9 to 0.8.2
Changed line 6 from:
The latest release of rtorrent is 0.8.2. to:
The latest release of rtorrent is 0.8.2.\\ Changed line 26 from:
They install fine a on an etch slug without requiring any further lenny package dependencies. to:
They install fine on an etch slug without requiring any further lenny package dependencies. May 10, 2008, at 01:40 PM
by -- removed outdated reference to lenny package sources
Changed line 6 from:
The current stable release of rtorrent is 0.8.2. to:
The latest release of rtorrent is 0.8.2. Deleted lines 9-13:
Install from LennyIt is possible to add the lenny repository to your slugs apt source and install rtorrent_0.8.2 with apt-get. The downside of using this method is that apt will install a LOT of key lenny package dependencies. This will leave you with a slug that is running a mixture of etch and lenny packages. Changed lines 11-12 from:
In the hope of keeping my slug as standard(etch) as possible,I decided against the apt-get lenny repository method. to:
The deb packages mentioned below have been built in a etch build environment using QEMU.\\ Changed lines 14-19 from:
In the QEMU environment I built rtorrent_0.8.2 and its dependencies from Debian package sources. etch apt-get installed X-dev packages were used where possible and lenny ones built where necessary. All the packages were built as they come from the Debian Source Packages. No patches, no changes. The result was five packages that install on an etch slug without any further lenny package dependencies. to:
The rtorrent package and its dependencies were built in the QEMU environment using Debian package sources. etch dev packages were installed with apt-get where possible, and lenny packages built where necessary. All the packages were built as they come from the Debian Sources. No patches, no changes. Added lines 25-27:
The libssh2-1, libcurl3 and libxmlrpc-c3 packages come from lenny sources. They install fine a on an etch slug without requiring any further lenny package dependencies. Changed line 31 from:
The commands below will install rtorrent_0.8.2 on a NSLU2 running Debian etch.\\ to:
The commands below will install rtorrent on a NSLU2 running Debian etch.\\ May 10, 2008, at 08:44 AM
by -- Update rtorrent from version 0.7.9 to 0.8.2
Changed line 1 from:
(:title Installing rtorrent 0.7.9 on a Debian etch NSLU2:) to:
(:title Installing rtorrent 0.8.2 on a Debian etch NSLU2:) Changed line 6 from:
The current stable release of rtorrent is 0.7.9. to:
The current stable release of rtorrent is 0.8.2. Changed line 11 from:
It is possible to add the lenny repository to your slugs apt source and install rtorrent_0.7.9 with apt-get. to:
It is possible to add the lenny repository to your slugs apt source and install rtorrent_0.8.2 with apt-get. Changed line 20 from:
In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. to:
In the QEMU environment I built rtorrent_0.8.2 and its dependencies from Debian package sources. Changed lines 30-32 from:
to:
Changed lines 36-37 from:
The commands below will install rtorrent_0.7.9 on a NSLU2 running Debian etch. to:
The commands below will install rtorrent_0.8.2 on a NSLU2 running Debian etch. Changed lines 46-48 from:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.11.9-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.7.9-1_arm.deb to:
wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.12.2-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.8.2-1_arm.deb Changed lines 52-54 from:
dpkg -i libtorrent10_0.11.9-1_arm.deb dpkg -i rtorrent_0.7.9-1_arm.deb to:
dpkg -i libtorrent10_0.12.2-1_arm.deb dpkg -i rtorrent_0.8.2-1_arm.deb Changed lines 58-60 from:
rm libtorrent10_0.11.9-1_arm.deb rm rtorrent_0.7.9-1_arm.deb to:
rm libtorrent10_0.12.2-1_arm.deb rm rtorrent_0.8.2-1_arm.deb April 20, 2008, at 08:19 PM
by -- Upgraded from XML-RPC-0.7 to XML-RPC-0.8. http://search.cpan.org/src/DAAN/XML-RPC-0.8/Changes
Changed lines 76-77 from:
wget http://waka.freehostia.com/nslu2/bin/libxml-rpc-perl_0.7-1_all.deb to:
wget http://waka.freehostia.com/nslu2/bin/libxml-rpc-perl_0.8-1_all.deb Changed lines 80-81 from:
dpkg -i libxml-rpc-perl_0.7-1_all.deb to:
dpkg -i libxml-rpc-perl_0.8-1_all.deb Changed lines 84-85 from:
rm libxml-rpc-perl_0.7-1_all.deb to:
rm libxml-rpc-perl_0.8-1_all.deb February 25, 2008, at 10:45 PM
by -- typo. are becomes as
Changed line 107 from:
xmlrpc comes are part of libxmlrpc-c3-dev, most of which you don't need unless you are developing libxmlrpc.\\ to:
xmlrpc comes as part of libxmlrpc-c3-dev, most of which you don't need unless you are developing libxmlrpc.\\ February 23, 2008, at 12:20 AM
by -- Install the xmlrpc-c general purpose client
Changed line 106 from:
If you find XML::RPC to slow, you might want to try the xmlrpc client.\\ to:
If you find XML::RPC too slow, you might want to try the xmlrpc client.\\ February 23, 2008, at 12:15 AM
by -- Install the xmlrpc-c general purpose client
Added lines 104-121:
Install the xmlrpc-c general purpose clientIf you find XML::RPC to slow, you might want to try the xmlrpc client. Install commands for xmlrpc. Run as root. #------------------------------------------------------------------------- wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3-dev_1.06.18-1_arm.deb mkdir libxmlrpc-c3-dev_1.06.18-1_arm_tmp dpkg --extract libxmlrpc-c3-dev_1.06.18-1_arm.deb libxmlrpc-c3-dev_1.06.18-1_arm_tmp/ cp libxmlrpc-c3-dev_1.06.18-1_arm_tmp/usr/bin/xmlrpc /usr/bin/xmlrpc rm -rf libxmlrpc-c3-dev_1.06.18-1_arm_tmp rm libxmlrpc-c3-dev_1.06.18-1_arm.deb #------------------------------------------------------------------------- February 22, 2008, at 10:45 PM
by -- Notes on RPC control via Perl XML::RPC
Changed line 66 from:
If you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module. to:
If you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module.\\ February 22, 2008, at 10:43 PM
by --
Changed lines 69-70 from:
The install commands for lighttpd and XML::RPC can be found below. to:
Install commands for lighttpd and XML::RPC. Run as root. Deleted line 89:
February 22, 2008, at 10:41 PM
by -- Notes on RPC control via Perl XML::RPC
Changed lines 64-105 from:
to:
Control rtorrent with PerlIf you would like to control rtorrent via XMLPRC with Perl, you can use the XML::RPC module. The setup instruction for lighttpd can be found here RTorrentXMLRPCGuide. The install commands for lighttpd and XML::RPC can be found below. #------------------------------------------------------------------------- apt-get update apt-get install lighttpd wget http://waka.freehostia.com/nslu2/bin/libhttp-lite-perl_2.1.6-1_all.deb wget http://waka.freehostia.com/nslu2/bin/libxml-treepp-perl_0.33-1_all.deb wget http://waka.freehostia.com/nslu2/bin/libxml-rpc-perl_0.7-1_all.deb dpkg -i libhttp-lite-perl_2.1.6-1_all.deb dpkg -i libxml-treepp-perl_0.33-1_all.deb dpkg -i libxml-rpc-perl_0.7-1_all.deb rm libhttp-lite-perl_2.1.6-1_all.deb rm libxml-treepp-perl_0.33-1_all.deb rm libxml-rpc-perl_0.7-1_all.deb apt-get clean #------------------------------------------------------------------------- Once you have setup /etc/lighttpd/lighttpd.conf, you can test the RPC connection from XML::RPC to rtorrent with the simple Perl script below. Happy hacking ! #-------------------------------------------------------------------------
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
use XML::RPC;
my $xmlrpc = XML::RPC->new('http://localhost/RPC2');
my $result = $xmlrpc->call( 'system.listMethods' );
print Dumper $result;
exit;
#-------------------------------------------------------------------------
February 04, 2008, at 05:19 AM
by -- link to OptwareRtorrentOnDebian
Added lines 65-66:
Another wayFebruary 03, 2008, at 10:31 PM
by --
Changed lines 33-34 from:
The rtorrent package has been built with *XMLRPC enabled. to:
The rtorrent package has been built with XMLRPC enabled. February 03, 2008, at 10:30 PM
by --
Added lines 33-34:
The rtorrent package has been built with *XMLRPC enabled. February 03, 2008, at 10:21 PM
by --
Changed lines 20-22 from:
In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. to:
In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. etch apt-get installed X-dev packages were used where possible and lenny ones built where necessary. All the packages were built as they come from the Debian Source Packages. No patches, no changes. February 03, 2008, at 10:18 PM
by --
Changed lines 20-22 from:
In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. etch apt-get installed X-dev packages were used where possible and lenny ones built where necessary. All the packages were built as they come from the Debian Source Packages. No patches, no changes. to:
In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. Changed line 34 from:
The install procedure has been tested on a slug that already had rtorrent_0.7.4 installed and a slug that had a clean OS install. to:
The install procedure has been tested on a slug that already had rtorrent_0.7.4 installed and a slug that had a clean OS install.\\ February 03, 2008, at 10:15 PM
by -- Tweak the formatting a little
Changed line 3 from:
The rtorrent package in the Debian etch arm repository is version 0.6.4. to:
The rtorrent package in the Debian etch arm repository is version 0.6.4.\\ Changed line 7 from:
The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4. to:
The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4.\\ Changed lines 16-19 from:
In the hope of keeping my slug as standard(etch) as possible,I decided against the apt-get lenny repository method. Instead I setup an etch build environment using QEMU. The QEMU environment had CXXFLAGS set in system env as is recommended here to:
In the hope of keeping my slug as standard(etch) as possible,I decided against the apt-get lenny repository method. Changed lines 26-34 from:
The commands below will install rtorrent_0.7.9 on a NSLU2 running Debian etch. The install procedure has been tested on a slug that already had rtorrent_0.7.4 installed and a slug that had a clean OS install. to:
Added lines 33-35:
The commands below will install rtorrent_0.7.9 on a NSLU2 running Debian etch. February 03, 2008, at 09:55 PM
by -- Inital wiki entry
Added lines 1-61:
(:title Installing rtorrent 0.7.9 on a Debian etch NSLU2:) Outdated Package in etchThe rtorrent package in the Debian etch arm repository is version 0.6.4. Version 0.6.4 was released way back in June 2005. The current stable release of rtorrent is 0.7.9. The rtorrent Changelog suggests that there have been many worthwhile changes since 0.6.4. Its a good idea to run a more up to date version than 0.6.4. on the slug. Install from LennyIt is possible to add the lenny repository to your slugs apt source and install rtorrent_0.7.9 with apt-get. The downside of using this method is that apt will install a LOT of key lenny package dependencies. This will leave you with a slug that is running a mixture of etch and lenny packages. Build from Debian Source PackagesIn the hope of keeping my slug as standard(etch) as possible,I decided against the apt-get lenny repository method. Instead I setup an etch build environment using QEMU. The QEMU environment had CXXFLAGS set in system env as is recommended here In the QEMU environment I built rtorrent_0.7.9 and its dependencies from Debian package sources. etch apt-get installed X-dev packages were used where possible and lenny ones built where necessary. All the packages were built as they come from the Debian Source Packages. No patches, no changes. The result was five packages that install on an etch slug without any further lenny package dependencies. The packages are,
The commands below will install rtorrent_0.7.9 on a NSLU2 running Debian etch. The install procedure has been tested on a slug that already had rtorrent_0.7.4 installed and a slug that had a clean OS install. Install Commands#------------------------------------------------------------------------- apt-get update apt-get install libwww-ssl0 wget wget http://waka.freehostia.com/nslu2/bin/libssh2-1_0.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libcurl3_7.17.1-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libxmlrpc-c3_1.06.18-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/libtorrent10_0.11.9-1_arm.deb wget http://waka.freehostia.com/nslu2/bin/rtorrent_0.7.9-1_arm.deb dpkg -i libssh2-1_0.18-1_arm.deb dpkg -i libcurl3_7.17.1-1_arm.deb dpkg -i libxmlrpc-c3_1.06.18-1_arm.deb dpkg -i libtorrent10_0.11.9-1_arm.deb dpkg -i rtorrent_0.7.9-1_arm.deb rm libssh2-1_0.18-1_arm.deb rm libcurl3_7.17.1-1_arm.deb rm libxmlrpc-c3_1.06.18-1_arm.deb rm libtorrent10_0.11.9-1_arm.deb rm rtorrent_0.7.9-1_arm.deb apt-get clean #-------------------------------------------------------------------------
view ·
edit ·
print ·
history ·
Last edited by Reedy.
Based on work by slugmanbashi, Martin Manscher, and BrianZhou. Originally by slugmanbashi. Page last modified on September 24, 2009, at 09:49 PM
|