Step-by-step tutorial with screenshots

Mar 6, 2009 21:11 GMT  ·  By

As everybody knows, KDE 4.2 was released this year at the end of January and it brings lots of improvements and new features/applications over previous versions. Today's tutorial will teach you, step by step, how to install KDE 4.2 on your existing Ubuntu 8.10 (Intrepid Ibex) installation.

WARNING: Be aware that the following tutorial will install the latest version of the KDE 4 desktop, which means KDE 4.2.2, and even if it's a stable release, the packages provided by the Kubuntu team are still experimental and there is a problem with Konqueror... it doesn't start! But you can use Firefox. Following the instructions below will not broke your current GNOME session!

Editor's note: To eliminate the "terminal madness" for Linux beginners, we've used apt-url links in this tutorial. So, just click the links where it says to install a software!

Step 1 - Add KDE 4.2 Repositories

Go to System -> Administration -> Software Sources...

Review image

...enter your password, and the Software Sources window will appear. Click on the second tab, "Third-Party Software," then click the "Add" button and paste the following code in the new window that will appear...

deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main

Then, click on the "Add Source" button...

Review image

Go to the third tab, "Updates," and check the "Unsupported updates (intrepid-backports)" option...

Review image

Right click HERE and "Save Link As..." the key file on your desktop. Go to the fourth tab, "Authentication," click the "Import Key File" button, navigate to the location where you've just saved the key file (File System/home/YOURUSERNAME/Desktop) and double click it. You will immediately see a new entry called "493B3065 2009-01-21 Launchpad PPA for Kubuntu Most Experimental Packages"...

Review image

Then click on the "Close" button of the main window. It will ask you if you want to reload the information about available software, so click the "Reload" button and wait for the Software Sources window to close...

Review image

Step 2 - Install KDE 4.2

All you need to do now is click the link below...

Click here to Install KDE 4.2

Then click the "Install" button to install the packages (enter your password if asked)...

Review image

Wait for the KDE 4.2 packages to be downloaded...

Review image

When the download is over (it will take a while if you have a slow Internet connection) you will be asked to input a password for the MySQL server. Click the "Forward" button when you're done...

Review image

...retype the password and click the "Forward" button again...

Review image

...and choose a display manager (gdm or kdm). Click on the "Forward" button if you want to keep Ubuntu's login screen (gdm), or select kdm from the drop-down list to install KDE4's login screen. We strongly suggest to choose gdm here...

Review image

The installation will start...

Review image

...when it is over, click the "Close" button and reboot the computer. If you've chosen to keep Ubuntu's default login screen, select the "KDE" option from the "Options -> Select Session" menu when you're back, input your username/password and voilà... KDE 4 fun on your Ubuntu desktop!

Editor's note: If you have autologin enabled, you will not be able to select the KDE session. So you need to logout and select KDE from "Options -> Select Session".

Review image

And the best part is that you will still have a working GNOME session!

Editor's note: The next optional steps were described for the GNOME session. Therefore, please logout from the KDE session. At the login, choose the "GNOME" option from the "Options -> Select Session" menu and log-in into the GNOME session.

Optional Step 1 - Restoring the Original Ubuntu Bootsplash

The KDE 4.2 installation will overwrite your current Ubuntu boot splash theme. If you don't like the blue Kubuntu splash, and you want to restore Ubuntu's, follow the instructions below...

Click here to Install StartUp-Manager

Then click the "Install" button to install the packages (enter your password if asked)...

Review image

When the download is over, the installation will start...

Review image

When the installation is over, click the "Close" button...

Review image

Go to System -> Administration -> StartUp-Manager...

Review image

...enter your password if asked, and wait for StartUp-Manager to start. Then, go to the second tab, "Appearance," and select the usplash-theme-ubuntu entry from the "Usplash theme" section...

Review image

Click the "Close" button and wait for the application to apply the new settings...

Review image

...and you're done! If you reboot, you'll notice that Ubuntu's boot splash is back.

Optional Step 2 - Restoring the Original Ubuntu Menu

The KDE 4.2 installation will mess up your current Ubuntu menu. What that means? Well, all the KDE4 applications will "invade" your GNOME menu. If you don't like this and you want to restore Ubuntu's menu, follow the instructions below...

1. Click HERE to download Gnome Menu Extended. Get the "Ubuntu DEB ALL" file! 2. Save the file on your desktop. 3. Double click the file and install it (input your password when asked). That's it! All the KDE applications will be stored in a single entry in the GNOME menu...

Review image

You can do the same thing on KDE, for the GNOME applications, if you download the K Menu Gnome software!

If you encounter any issues with the tutorial, do not hesitate to use our commenting system below or the forum.