You are here

Upgrading KTorrent to 3.2 RC1 on Kubuntu Intrepid with KDE 4.2

Submitted by Druss on Fri, 2009-02-06 03:57

Upgrading KTorrent from 3.1.2 to 3.2 RC1 on Kubuntu 8.10 Intrepid with KDE 4.2:

  1. Install cmake and related tools:
    sudo apt-get install cmake automoc build-essential gettext
  2. Install other required libraries:
    sudo apt-get install kdelibs5-dev libqca2-dev libgmp3-dev kdebase-workspace-dev kdepimlibs5-dev libkrosspython0 libkrossruby0
  3. Remove the existing ktorrent installation as a precaution: sudo apt-get remove ktorrent. This should not affect your configuration files.
  4. Download the Ktorrent source code from In this case, I downloaded 3.2RC1.
  5. Extract it to a subdirectory named ktorrent (in your home directory).
  6. Open a terminal and navigate into the ktorrent directory.
  7. Type:
    mkdir build
    cd build
  8. Type:
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    /usr is the base directory for your KDE4 installation in Intrepid.
  9. Type: make. This might take a while.
  10. Type:
    sudo make install
    . This should install the compiled program in the appropriate directories.
  11. Type:
    to refresh the plugins. Do this again if KTorrent does not detect the new plugins.
  12. Run the program and test things out. If you need to uninstall this compiled program, type
    sudo make uninstall
    to do so.

If necessary, you can also do this with source code checked out from the KTorrent subversion repository.

Update: This should also work for 3.2 final.

Update: 3.2.1 also has a new optional dependency for libtag1-dev . Install this prior to the cmake using sudo apt-get install libtag1-dev.