Revision of How To Install KDE 4 RC 2 in Ubuntu from Tue, 12/18/2007 - 20:15

Live CDs and virtual machines are easy ways to try out the new KDE 4. But I have been wanting to try out the new 3d effects, which makes running an installed version necessary.

KDE 4 on Ubuntu

It’s possible to run KDE 4 in Ubuntu along with the normal GNOME desktop. This post is about installing KDE 4 RC 2 along with Ubuntu 7.10. If you already have Kubuntu installed, see these instructions instead.

Note: Unless you have a spare computer to play with, this guide is not for inexperienced Linux users.

You need to add the Ubuntu KDE 4 repository. Append this line to your /etc/apt/sources.list file:

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main

Update APT with the new repository:

sudo apt-get update

Install the KDE 4 packages:

sudo apt-get install kdebase-bin kdebase-workspace kdebase-kde4 kdebase-runtime

Now you can log out and in to KDE. On the log in screen, open the Options menu and click Select Session. Here you can switch between your normal GNOME session and KDE 4.

This method works, but I have had a few problems with it:

  • The KDE and GNOME menus are mixed together, and some KDE items seem to be missing.
  • I’m getting a lot of KDEInit could not launch errors.

Anyone know how to fix these problems? I’ll be updating this post as I get KDE 4 working better.