Official BitTorrent 4.0.x on Ubuntu

Since Ubuntu Hoary only offers Bittorrent 3.x updating is a good idea if you want some of the newer features. So here comes a little step-by-step guide on how to get Bittorrent 4.x running:


  1. First download the Linux deb package from bittorrent.com
  2. Install it using sudo dpkg -i $packagename
  3. Ok, so Bittorrent is now installed. But there is a problem: It puts all the libraries into the python-2.3 paths. The problem is, that Ubuntu 5.04 uses Python 2.4 as default ;-) So open the /usr/bin/btdownloadgui.py in your favorite text editor and change the first line from
    #!/usr/bin/python

    to

    #!/usr/bin/python2.3
  4. Enjoy ;-)