Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Tips and Tricks _ Next Topic.... Bit Torrent And Apollon

Posted by: Stevey_G Feb 26 2004, 07:46 AM

As far as I know Bit torrent is not on apt-get. Could you give me a rough guide on where to get it from and how to install it. Also have any of you used Apollon? I have a complete distro of it with an install script but I get errors even if im in superuser mode.

Posted by: hughesjr Feb 26 2004, 08:55 AM

To use bittorrent, I recommend the http://bt.degreez.net/download.html ... download the latest source in tar.gz format.

Make sure you have python installed .... use the command :

python -V

The result will be something like this:

Python 2.2.3

If you don't have python, install via apt-get:

apt-get install python

Go to this http://www.dessent.net/btfaq/#where, scroll down to the Linux/UNIX section and click the link to download the RPM version of wxPython for your python install (in my case, I have version 2.2.3, so I would click http://osdn.dl.sourceforge.net/wxpython/wxPythonGTK-py2.2-2.4.0.7-1.i386.rpm)

Install wxPython via the command:

rpm -Uvh wxPythonGTK-py2.2-2.4.0.7-1.i386.rpm

Now untar the client file:

tar -xvzf BitTorrent-experimental-S-5.8.10.tar.gz

move the entire directory to /usr/lib with this command:

mv bittorrent-CVS-shadowsclient/ /usr/lib/btclient

edit the file /etc/mailcap and add this line and save the file:

application/x-bittorrent; /usr/lib/btclient/btdownloadgui.py %s; test=test -n "$DISPLAY"

If you want to be able to execute bittorrent commands from the command line, issue these commands:

cd /usr/bin
ln -s /usr/lib/btclient/bt*.py .


If you have a firewall, you want to open ports 6881 to 6889 into your new bittorrent client. (Or on your first download, you can go to the prefs tab and change the incoming port(s), and forward those ports to your client).

Posted by: Corey Feb 26 2004, 01:40 PM

When using Debian, I experienced the same problems with getting bittorrent working properly. So, i'm going to copy this thread over to the Tips & Tricks.

Posted by: hughesjr Feb 27 2004, 07:07 AM

The specific instructions were for RedHat 9 with apt installed... but obviously the steps would be the same for most distros.

How you obtain Python, if required, would be with the distro specific tool:

emerge -UD python (gentoo)

urpmi python (mandrake)

apt-get python (debian)

etc...
------------
Also, for non RPM distros, you would download the wxPython from this http://wxpython.org/download.php and install per the instructions depending on your OS.
-----------
The reason that I recommend this client is that it has a slider to control the Upload bandwidth (you want to set it to a max of 80% of you upload capacity when sharing files ... any more than that and you could saturate the line, causing your download speed and all internet connectivity, to be extremely slow).

This client also tells you how many other seeds (full downloads) and peers (other people downloading) are connected to this file .... something I used to have to use the package torrentsniff for.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)