ERROR: Slooooow dooooown... this page load was delayed.


bittorrent - Distributed bandwidth file copying tool ChangeLog

HOWTO


# BitTorrent
# ==========
# At the top is dnspython, which is an optional prerequisite of BitTorrent,
# below that is BitTorrent itself.


# dnspython 1.4.0 (optional prerequisite for BitTorrent)
# ===============
# Prerequisites:
# Python >= 2.2

cd
test -f installed/dnspython-1.4.0.tar.gz &&
mv installed/dnspython-1.4.0.tar.gz .
test ! -f dnspython-1.4.0.tar.gz &&
wget http://www.dnspython.org/kits/stable/dnspython-1.4.0.tar.gz

# Verify tarball w/ md5sum:
echo "7f7e58379235b2b626620a7bda810270  dnspython-1.4.0.tar.gz" | md5sum -c

# Verify tarball w/ sha1sum:
echo "7b16d9831e01d4e66273c46a269f48d94a526350  dnspython-1.4.0.tar.gz" | \
sha1sum -c

# Verify tarball w/ gpg:
gpg --list-keys CD706369 > /dev/null 2>&1 ||
( wget -nc http://www.dnspython.org/public_key.asc &&
  gpg --import < public_key.asc && rm public_key.asc )
wget -nc http://www.dnspython.org/kits/stable/dnspython-1.4.0.tar.gz.asc &&
gpg --verify dnspython-1.4.0.tar.gz.asc && rm dnspython-1.4.0.tar.gz.asc

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "dnspython-*" -exec rm -r {} \;
tar xzvf ~/dnspython-1.4.0.tar.gz
cd dnspython-1.4.0
test $UID = 0 && chown -R root:root .
python setup.py build

# Become root to install it
su

# If you want to zap an existing old version first
test -d /usr/lib/python2.4/site-packages/dns &&
rm -r /usr/lib/python2.4/site-packages/dns

# Install it
python setup.py install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/dnspython-*.tar.*
mv dnspython-1.4.0.tar.gz installed/


# BitTorrent 4.4.0
# ================
# Slackware 9.1 includes version 3.3, 10.0 includes 3.4.2, 10.1 includes
# 3.9.1, and 10.2 includes 4.1.3  All of them in "extra".

# Prerequisites:
# Python >= 2.2.1
# GTK+ >= 2.2
# PyGTK >= 2.4
# dnspython >= 1.3.2 (optional)

# If you're upgrading from an older version, you may want to run through
# the uninstall instructions at the bottom first to ensure that old files
# aren't left lying around.

cd
test -f installed/BitTorrent-4.4.0.tar.gz &&
mv installed/BitTorrent-4.4.0.tar.gz .
test ! -f BitTorrent-4.4.0.tar.gz &&
wget http://download.bittorrent.com/dl/BitTorrent-4.4.0.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "BitTorrent-*" -exec rm -r {} \;
tar xzvf ~/BitTorrent-4.4.0.tar.gz
cd BitTorrent-4.4.0
test $UID = 0 && chown -R root:root .
python setup.py build

# Become root to install it
su

# Version 4.1.4 renamed many of the scripts, remove the old names
( cd /usr/bin ; rm -f btdownloadgui.py btdownloadheadless.py \
btdownloadcurses.py btmaketorrentgui.py btmaketorrent.py btlaunchmany.py \
btlaunchmanycurses.py bttrack.py btreannounce.py btrename.py \
btshowmetainfo.py )

# Install the new version
python setup.py install

# /usr/share/pixmaps/BitTorrent-4.4.0/bittorrent.ico contains three images.
# I converted the ico into png using ImageMagick's convert utility and put
# the 48x48 one here if you want to use it as a desktop icon for
# /usr/bin/bittorrent
cd /usr/share/pixmaps
wget -nc http://englanders.cc/pub/linux/misc/bittorrent.png

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/BitTorrent-*.tar.*
mv BitTorrent-4.4.0.tar.gz installed/


# If your web browser supports /etc/mailcap, add a line like this to it to
# associate torrent files with /usr/bin/bittorrent:
# application/x-bittorrent; /usr/bin/bittorrent %s; test=test -n "$DISPLAY"

# To associate .torrent files with BitTorrent in Mozilla Firebird, which
# doesn't have the ability to add to the list of helper apps in Edit ->
# Preferences -> Downloads, click a *.torrent link on a web site and when
# the window pops up asking what to do with it, tell it to open it with
# /usr/bin/bittorrent

# To run it at the commandline, run either bittorrent-console or
# bittorrent-curses (the latter is easier to look at) and pass it a URL.
# For example:
# /usr/bin/bittorrent-console \
#  http://www.slackware.com/torrents/slackware-10.2-install-d1.torrent

# See README.txt in the source directory for info about setting up a
# tracker

# If you want to check out other BitTorrent clients, try here and here


# If you ever need to uninstall BitTorrent, run this:
su
( cd /usr/bin ; rm -f btcompletedir.py btcompletedirgui.py \
  btdownloadcurses.py btdownloadgui.py btdownloadheadless.py \
  btdownloadlibrary.py btlaunchmany.py btlaunchmanycurses.py \
  btmakemetafile.py btmaketorrent.py btmaketorrentgui.py btreannounce.py \
  btrename.py btshowmetainfo.py bttest.py bttrack.py )
( cd /usr/bin ; rm -f bittorrent bittorrent-console \
bittorrent-curses bittorrent-tracker changetracker-console \
launchmany-console launchmany-curses maketorrent \
maketorrent-console torrentinfo-console )
find /usr/lib/python*/site-packages/BitTorrent -maxdepth 1 -type d \
-exec rm -r {} \; 2> /dev/null
find /usr/doc -maxdepth 1 -type d -name "BitTorrent-*" \
  -exec rm -r {} \;
find /usr/share/pixmaps -maxdepth 1 -type d -name "BitTorrent-*" \
-exec rm -r {} \;
rm -f ~/installed/BitTorrent-*.tar.*
find /usr/local/src -maxdepth 1 -type d -name "BitTorrent-*" \
-exec rm -r {} \;
exit

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-08-24 3:11pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]