Installing BitTorrent

DEPENDENCIES

Python ( http://www.python.org )
A very cool programming language.
At the time of this writing Python 2.3.2 is the most recent stable release available as a bz2 or a gzip

wxPython ( http://www.wxpython.org )
A blending of the wxWindows C++ class library with the Python programming language.
At the time of this writing wxPython 2.4.2.4 is the most recent stable release available at: http://www.wxpython.org/download.php#sources

To install wxPython it requires
- glib and gtk+ (these are already installed with VL4.0 with Xwindows)


Installing wxPython

Again I installed wxPython with most defaults, I didn't install any openGL stuff (see step 3).

After you've downloaded wxPython in /tmp
1. untar it:

'cd /tmp'
'tar xzf wxPythonSrc-2.4.2.4.tar.gz'

2. configure, and build it
make a separate build directory to build wxPython in

'cd /tmp/wxPythonSrc-2.4.2.4'
'mkdir build'
'cd build'

configure it:
'../configure --with-gtk --enable-geometry --enable-optimise --enable-gtk2 --enable-debug_flag'

3. run setup.py

'cd ../wxPython'
'python setup.py build'

4. Install it

become a root user
'python setup.py install'
'ldconfig'
don't need to be a root user anymore.

5. check the install
start up iceWM or KDE or whatever, if you're not in Xwindows already

in an xterm type:

'cd /tmp/wxPythonSrc-2.4.2.4/wxPython/demo'
'python demo.py'


Installing BitTorrent

1. Download BitTorrent to /tmp:
http://bitconjurer.org/BitTorrent/download.html

2. untar it:

'tar xzf BitTorrent-x.x.x.tar.gz'

3. build it

'cd /tmp/BitTorrent-x.x.x'
'./setup.py build'

4. install it

become a root user
'./setup.py install'
'ldconfig'
don't need to be root user anymore

5. test the install

btdownloadgui.py

this should open an error window that give you command line options, this is good.


Configuring Opera

1. Open Opera.

2. Go to: 'File' -> 'Preferences...'

3. Go to: 'File Types' (on the left-hand list)

4. Click on the 'New...' button

5. Enter the following information
MIME Type: application/x-bittorrent
Extension: torrent

Click the 'Open with other application' radio button
Enter: '/usr/local/bin/btdownloadgui.py --url %s' in the text field under 'Open with other application'
Check the 'Pass web address directly to the application' box

6. Click Ok

7. Click Ok