Downloads
- Stable version: ktorrent-4.3.1.tar.bz2 and libktorrent-1.3.1.tar.bz2
- Old stable version: ktorrent-4.2.0.tar.bz2 and libktorrent-1.2.0.tar.bz2
As of version 4.0rc1 you first need to compile and install libktorrent before you do ktorrent:
tar -xvjf libktorrent-1.X.Y.tar.bz2
cd libktorrent-1.X.Y
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install
Compiling and installing ktorrent:
tar -xvjf ktorrent-4.X.Y.tar.bz2
cd ktorrent-4.X.Y
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
sudo make install
You will need to install cmake and all the necessary development packages (Qt,KDE,libgmp,QCA2), to get it compiled properly.
Compiling 2.2.8 is a bit different :
tar -xvjf ktorrent-X.Y.tar.bz2
cd ktorrent-X.Y
./configure
make
make install
If you want really fast compilation times, you should use ./configure --enable-final instead of
./configure
People on Mac OS X who have trouble compiling should try the following:
configure --prefix=/sw
sed -i -e 's/^whole_archive_flag_spec=.*/whole_archive_flag_spec=""/g;'
libtool
make
sudo make install
Thanks to Borre Gaup for bringing this to our attention. The problem is also explained here, other software might have the same problem.
Note : official SUSE packages for ktorrent >= 2.0 are crippled, SUSE disables DHT functionality for legal reasons (see https://bugzilla.novell.com/show_bug.cgi?id=205390)
Note : A lot of distros make their own KTorrent packages, some of them are pretty fast (like Fedora) to upgrade to the latest version of KTorrent. So with a bit of luck you should be able to find a recent KTorrent version in your distro's package management system (apt, up2date, emerge, ...).
Older versions
You can find older versions of KTorrent at http://ktorrent.org/downloads.


