Wednesday, 5 August 2009

How-To: Install KDE 4.3 in Ubuntu/Kubuntu 9.04 Jaunty Jackalope

KDE 4.3 was released just yesterday, and it comes with a lot of great new features and improvements, like the the new Plasma theme called Air, new Plasma widgets, several improvements to Dolphin, the default KDE4 file manager, improvements to the KDE games, and these are just a tiny part of all the improvements KDE4 introduced. The full announcement including reader's changelog can be found on the official KDE4 website, here.

Kubuntu comes with an older release of KDE4, but there is a PPA (Personal Package Archives) available which includes the newest packages for Jaunty, so in order to install it just follow the steps below.

First, open up a terminal like Konsole or GNOME Terminal and edit the sources.list file using your favourite text editor, e.g.:

sudo nano /etc/apt/sources.list

Or, for Kate:

sudo kdesu /etc/apt/sources.list

If you are installing KDE from Ubuntu, you can use Gedit:

sudo gedit /etc/apt/sources.list

Enter your user password and add the following repository line:

deb jaunty main

Next, make sure to save the file (Ctrl+O followed by Ctrl+X in Nano) and update the package lists:

sudo apt-get update

All you have to do now is to install the new KDE 4.3 environment by issuing:

sudo apt-get dist-upgrade

Should take a while. This will fetch and install all the newer packages from the freshly added repository. To see the new KDE 4.3 installation log out and log back in KDE, or open up Konsole and type:

sudo /etc/init.d/kdm restart

10 comments: said...

It is strongly recommended that you verify the integrity of these packages before installing.

Greg said...

A few observations.

1. I did this with KDE4.3 beta installed and ended up with a totally borked KDE. Luckily I also have Xfce4 installed as a backup.

2. I removed all KDE and reinstalled 4.2 and sat for a few hours, then did it again this time updating 4.2. It trashed it again, but this time it was recoverable. I got a blank screen, but this time I was able to add a panel and step by step make a new desktop.

3. It might work better if you remove all KDE first and clean install 4.3, but I have a good desktop now so I will not try that one.

4. WARNING - This is not for newbies.

5. It is good and stable and has some nice new features, worth the effort, just have Xfce installed or resort to lots of command line work.

Anshul said...

Instead of using a half-baked KDE from Kubuntu, which btw gives KDE an extremely bad name and is nothing short of an embarrassment...use a real KDE distro like Mandriva or Opensuse. Check out either one of their KDE 4.3 implementations and you'll be amazed on how good KDE is.

Kubuntu gives KDE to the many newbies who enter the world of Linux through Ubuntu.

Anshul said...

Edit: The last line should be:-

Kubuntu gives KDE a very bad first impression to the many newbies who enter the world of Linux through Ubuntu.

Greg said...

An update to my earlier post.

On my Netbook using 32bit Kubuntu the update went through flawlessly, so the hassles I had were only with the 64bit version.

On my Debian SID machine, also 32bit, the update also went without hiccup.

If I never see OpenSuse again in my life I will be happy. Yast is an abomination and you have to jump through too many hoops just to get multimedia to function properly. You can keep it.

Mandriva plus PLF used to be good, I have not used it in years.

All my Debian and Ubuntu KDEs work just fine thank you.

Anshul said...

Its pretty easy to get multimedia working on Opensuse. There's a one-click installer on for all your multimedia needs.

Mandriva+PLF takes care of any do not need to manually install *anything*. Its pretty much automatic when you initialize the PLF repos.

kevix said...

I also had some issues with this repo. After many tries with aptitiude dist-upgrade or similar, I had to use this:
udo dpkg --force-overwrite --install /var/cache/apt/archives/libindi0_0.6-0ubuntu1_i386.deb
hope that helps someone.

Michael said...

What about adding the GPG Key for authentification?

Phoenix said...

Also it is recommended to use gksudo rather than sudo when working with graphical applications.

Anonymous said...

Here is an article which will describe you this even better. Have a look at this page : It has screenshot help for every step...