Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
|This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care.|
Before we begin, I want to point out that if you have any questions or issues related to KDE development (this article, all that follow it, etc.), feel free to ask us. However, be patient and do expect to be attempting to work through the issue as well (we aren't just going to do it all for you).
There are several ways to install KDE SC so that you can use and develop KDE software. Below are complete instructions for installing KDE4 on a Linux system based on whether you want an Official Release, a Nightly Build, Stable 4.x Release, or Master (master is the git equivalent to what was called "trunk". It is the most recent snapshot.
|Official Release||Nightly Build||Stable from Source||Master (Recommended)|
|For the casual user, or a developer who is working on applications outside of KDE SC||For application developers or package managers who are not modifying the core of KDE SC||For KDE SC and applications developers that want to spend less time setting up a build system||For developers working on core KDE SC functionality, and desire/need up-to-the-minute changes. Recommended for very active developers.|
|1. Use a Distribution with KDE to set up a fully functional KDE system in one step. Also install the "developer packages" if you want to compile KDE software||1. Install build requirements from your distribution||1. Install build requirements from your distribution||1. Install build requirements from your distribution|
|2. Download and setup KDE SC easily using Project Neon||2. Download KDE sources from SVN||3. Download and Build KDE SC from Git|
|3. Build a stable 4.x release|
|4. Set up scripts to ease KDE development||4. Set up scripts to ease KDE development|
For instructions on installing KDE SC on Windows, BSD, or Mac OS X, or instructions for installing KDE3, please see the other supported platforms page. There are also upgrade instructions from a branch to trunk.
Below is additional information you may be interested in before installing KDE.
In each installation scenario above, Qt is installed in the most appropriate way. For your reference, there are three ways to install it:
Currently, KDE SC source code is for the most part, accessed using git. For those modules that are still in svn, consult: Getting_Started/Sources/Anonymous_SVN.
Amarok has already migrated to Git, as well as many other modules modules (phonon, parts of kdesupport, kdelibs, kdebase, kdeplasma-addons). Until we are fully migrated at least, it is recommended to use kdesrc-build if you can, as it takes care of all of this for you.
Compile and Linking errors are frequent sources of discouragement. Make careful note of the first occurrence of an error in your build process. It could be as simple as a bad environment variable, an unexpected version of a library or missing prerequisite.
If you are building from trunk and following the instructions linked from here or from Build KDE 4.5 on Kubuntu and would like free support, please contact:
You will likely want to use a stable package from your distribution instead of the ones of the KDE version you are working on.
For most development topics, and documentation, see Development
You probably won't need the latest bleeding-edge version of KDE with which to develop. Much of the code will be similar between versions and your patch might work.
Follow the next articles to find out how to help us make KDE better ;-)