This page details installation of kde4 requirements on any recent Kubuntu or Debian.

−

'''If Kubuntu doesn't have QT4.6 yet, you can get it adding this repository ppa:mapopa/qt4.6 istead compile kde-qt'''

+

= Introduction =

−

For a basic functioning desktop, the recommended packages are installed with the command:

+

This page details installation of KDE SC 4 build requirements on any recent Kubuntu or Debian system. That is, if you want to build KDE SC 4 Platform, the required (and some strongly recommended) packages are installed with the commands on this page.

****I moved libstreamanalyzer-dev libstrigiqtdbusclient-dev to the section below since that pulls in qt4.

+

=== 4.10 ===

+

This (along with the command for 4.x above) installs all compilation requirements for kde 4.10. Some additional packages may be required for 4.10. See the sections below for other packages to install.

−

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.

This (along with the command for 4.x above) installs all compilation requirements for kde4 (with the exception of qt4) and some strongly recommended packages such as libssl-dev for https support. Further recommended and optional packages are listed below.

Also, to enable XMMS support for the 'Now Playing' plasma data engine in kdebase, you will need to either compile XMMS from source, or install the package from a [http://www.pvv.ntnu.no/~knuta/xmms/ third-party XMMS package repository].

+

=== 4.5 ===

+

<syntaxhighlight lang="bash">

+

sudo aptitude install libv4l-dev # for kdenetworks

+

sudo aptitude install liblcms1-dev # for kdegraphics

+

</syntaxhighlight>

−

+

=== 4.4 ===

−

== Build prerequisites ==

+

(Nothing extra needed)

−

In Kubuntu and Debian (Testing/Unstable) the build prerequisites are installed with:

+

−

+

−

<code bash>

+

−

sudo aptitude install build-essential cdbs debhelper cmake \

+

−

kdesdk-scripts subversion ssh xserver-xephyr

+

−

</code>

+

−

+

−

+

−

Optional packages for API documentation generation:

+

−

<code bash>

+

−

sudo aptitude install doxygen graphviz

+

−

</code>

+

== kdelibs dependencies ==

== kdelibs dependencies ==

−

−

Kdelibs dependencies can be installed with:

−

<code bash>

−

sudo aptitude install libqt4-dev dbus-x11 \

−

libstreamanalyzer-dev libstrigiqtdbusclient-dev \

−

libxml2-dev libxslt1-dev shared-mime-info libgif-dev libpcre3-dev \

−

libjpeg62-dev librdf0-dev

−

</code>

−

−

You may also need the automoc and libphonon-dev packages when compiling on *buntu:

−

<code bash>sudo aptitude install automoc libphonon-dev</code>

−

−

=== Recommended packages ===

−

* libssl-dev - Needed for https support etc.

−

* libbz2-dev - Needed for bzip support in kio_archive and GHNS packages.

{{Note|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).

To enable XMMS support for the 'Now Playing' plasma data engine in kdebase, you will need to either compile XMMS from source, or install the package from a [http://www.pvv.ntnu.no/~knuta/xmms/ third-party XMMS package repository].

Introduction

This page details installation of KDE SC 4 build requirements on any recent Kubuntu or Debian system. That is, if you want to build KDE SC 4 Platform, the required (and some strongly recommended) packages are installed with the commands on this page.

4.6

This (along with the command for 4.x above) installs all compilation requirements for kde4 (with the exception of qt4) and some strongly recommended packages such as libssl-dev for https support. Further recommended and optional packages are listed below.