These are the generic installation instructions for the K
Desktop Environment. Please complement your reading with the
README
s and INSTALL
s that
come along with the package. Please read them carefully and try to
help yourself out if anything goes wrong. If you need further
assistance, consider joining the KDE mailing lists
(see our web site instructions for joining the KDE
mailing
lists) or newsgroups.
4.1. | To the would-be converts |
So you have heard the rumors. Or you have seen the screenshots. And you are dying to get hold of KDE. But you know next to nothing about this whole “alternative OS” business. Don't worry! You only need to do some (well, maybe not some) reading, that's all! KDE does not run on any version of Microsoft® Windows® or OS/2 (yet). To run KDE, you need to have a UNIX® system. Please refer to Q: 2.2 for more details. Decide on a platform and set it up for your system. This FAQ can not help you with this, since KDE runs on many UNIX® platforms. Finally, you are ready to commence the KDE installation. Please start reading from the next section. To get KDE, please refer to Q: 3.1. Last but not least, if you encounter any problems while installing KDE, please do not hesitate to make use of the KDE mailing lists and newsgroups. But do bear this in mind: no question is too silly to ask, but some are too silly to answer, especially when they are already answered in this FAQ. Good luck and have fun! | |
4.2. | What kind of hardware do I need to run KDE ? |
To run KDE it is recommended that you have at least a pentium II processor, 64MB of memory and 500MB of free disk space for a basic installation. While KDE may run on slower configurations than this, performance can be severely impaired. Generally, if your computer runs an X-Server already with other desktop environments or window managers it's probably fast enough to run KDE. | |
4.3. | Available package formats |
You can find several kinds of binary and source packages for
different distributions and operating systems on the ftp://ftp.kde.org/pub/kde/. The
binary packages are not made by the KDE Team, but by the
distributors themselves, or some dedicated individuals. Please refer to
KDE Package Policy
Explained for information about the KDE Package Policy. The
only “official” release is the source tar.bz2
packages. Please refer to the | |
4.4. | Prerequisites |
For KDE 3.4.1, you need the Qt™ library version 3.3 or greater. Please make sure you download the correct Qt™. You will also need the header files, if you want to compile KDE yourself. They are all available, at no cost, from http://www.trolltech.com/download. In addition, there are optional libraries that might improve KDE if installed on your system. An example is OpenSSL which will enable Konqueror to browse web pages securely and is needed in a version >=0.9.6. These should be provided by your distributor; if not, ask for an update. | |
4.5. | Description of the base packages |
The base distribution currently consists of twenty packages. Some are required, while others are optional. Each package is available in each of the aforementioned package formats.
aRts and then kdelibs should be installed before everything else, and kdeaddons last. The other packages can be installed in any arbitrary order. Most package management tools will let you put all these packages in one folder and install them all at once, figuring out the dependencies as they go. | |
4.6. | Installation instructions for the different package formats |
ImportantPlease do not forget to read the
| |
4.7. | Post-installation procedures |
First of all, please make sure that you have added KDE's binary
installation folder (e.g. CautionPlease bear in mind that it is unwise to set
Even though you can use most of the KDE applications simply by calling them, you can only benefit fully from KDE's advanced features if you use the KDE window manager and its helper programs. In order to make it easy for you, we have provided a simple
script called Edit the file NoteSome systems (notably Red Hat® Linux®) use This should present you with a new shining KDE desktop. You can now start to explore the wonderful world of KDE. In case you want to read some documentation first, there is a highly recommended Quick Start guide available. Furthermore, every application has an online help that is available via the menu. | |
4.8. | Should I remove old version xyz before installing a new one? |
In principle, this is not necessary. RPM and Debian packages should take care of all dependencies. If you compile the source code yourself, you should take more care. Instructions for running two different versions of KDE on the same system are given at http://developer.kde.org/build/kde2-and-kde3.html. However, please note that running two different versions of KDE from source can lead to problems if you are not careful. | |
4.9. | How do I start KDE? |
The most comfortable method to start KDE is to use the
| |
4.10. | Is it possible to install KDE in a user folder? |
Yes, you can install KDE in any folder you want. What you have to do depends on the kind of packages you want to install: Procedure 4.4. Source packages
Procedure 4.5. RPM packages
NoteAlthough KDE will run from a user folder, there are some problems with programs that require suid root, e.g. the programs in the kdeadmin package. But since they are not meant to be run by users in the first place, this is nothing to worry about. However, on systems using shadow passwords, the screensavers have to be suid root to enable password access for unlocking the screen, so this option will not work. | |
4.11. | startkde fails with can not connect to X server. What is wrong? |
You probably tried to start the X server with startkde. The X
server is started with startx.
startkde is the
script that should be run from your | |
4.12. | KDE on AIX®? |
IBM now officially support KDE on AIX®. You can find details at http://www.ibm.com/servers/aix/products/aixos/linux/index.html. There is also some older information at http://space.twc.de/~stefan/kde/aix.html. | |
4.13. | KDE on a laptop? |
If you can get X Window System® to run on your laptop, you should not have any problem getting KDE to run on it. In addition, you might find the following links helpful: | |
4.14. | I do not like the default KDE folder after installation. How do I move it without breaking anything? |
Assuming the default is
This will put all your KDE files in | |
4.15. | What files can I delete from my KDE install folder? Can all the
|
There should not be any need to keep the | |
4.16. | Will I lose my current settings when I upgrade KDE? |
No. In most cases KDE will be able to transport your settings intact. You may need to reenter passwords in some applications (such as KMail or KNode) but most other settings will be safe. There were mixed reports of results between some previous versions of KDE. To be safe, you may like to back up your entire KDE configuration. Settings are kept in the You can override the use of | |
4.17. | I upgraded KDE and it seemed to go fine, but when I start it, I get a blank gray screen, and nothing happens. There are errors in the console about DCOPserver. What's going on? |
KDE uses several temporary files during its operation. These are usually to be found in the following locations:
If the symlinks get broken, usually because a
cron or shutdown script is emptying out the
If you are only getting a gray screen when you start KDE, or if you get an error message telling you to Check your installation, then shut down X and delete all the files listed above, then try to restart X. Normally (i.e. when not upgrading between KDE versions) it's quite safe to leave these files intact, and you may shave a few seconds off your KDE startup time by doing so. | |
4.18. | Compiling kdebase gives me a bin/sh: msgfmt: command not found error! |
You need the GNU msgfmt which is part of the GNU i18n package gettext. You should be able to download it from any GNU mirror. | |
4.19. | How do I uninstall KDE applications compiled from source? |
You can uninstall your programs by typing make
uninstall in the folder where you did make
install. If you have already deleted that folder,
then there is only one way, and it is not good: go to If you expect to find yourself in this situation, you might want to consider a program such as GNU stow, found at http://www.gnu.org/software/stow/stow.html. | |
4.20. | What is up with GIF support? |
This has to do with issues with Unisys' LZW patent. GIF
support is turned off from Qt™ 1.44 onwards by default. When you want to use
GIFs and have the relevant license, recompile Qt™ with GIF support.
./configure |