This page details installation of kde4 requirements on Kubuntu 7.10 (Gutsy), Kubuntu 8.10 (Intrepid Ibex) and Debian (Testing/Unstable). For a basic functioning desktop, the recommended packages are installed with the command:

This installs build prerequisites such as build essential, almost all compilation requirements for kde4 (with the exception of qt4) and some recommended packages such as libssl-dev for https support. Further recommended and optional packages are listed below.

To compile the stable release of kde4 (kde4.0) also install the package libqt4-dev.

To compile kde from trunk (soon to be kde4.1) the latest Qt4.4 snapshot must be compiled from source. This is provided conveniently in the kde svn repository as qt-copy. Please read README.qt-copy for the necessary Qt options as well as currently known problems.

kdebase dependencies

Note that libxine1-dev depends on gnome packages due to a kubuntu gutsy packaging bug (fixed in hardy). Also kubuntu packages xinelib version 1.1.8, which has trouble playing short sounds (fixed in xinelib 1.1.9).