DO NOT USE THIS CODE, KDE 4.2 HAS BEEN MOVED TO DEBIAN TESTING AND UNSTABLE, SO THIS IS NO LONGER NECCESARY.
KDE 4.2 is the new release for KDE that has been code names “the answer”(that will shut up most whiny babies who doubted KDE4 would ever be any good)
I managed to install KDE 4.2 in my recently installed Debian Lenny. I couldn’t wait until Lenny released since 4.2 seemed to be just ripe for the picking.
It was a simple process of apt-pinning
I added the following repositories to my /etc/apt/sources.list
#SID(needed because several dependencies are here)
deb http://ftp.de.debian.org/debian/ sid main
deb-src http://ftp.de.debian.org/debian/ sid main#Experimental(the KDE4 repo)
deb http://ftp.de.debian.org/debian/ experimental main
deb-src http://ftp.de.debian.org/debian/ experimental main
and then added this to /etc/apt/preferences , (create it if you don’t have it)
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900Package: *
Pin: release o=Debian,a=lenny
Pin-Priority: 900Package: *
Pin: release o=Debian,a=sid
Pin-Priority: 300Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 250
MAKE SURE THAT THERE ARE NO SPACES BEFORE THE “P”’s in Package, Pin, and Pin-Priority!! Gedit added them when i wrote it and i’t took me a while before i figured out what was wrong.
What this does is make sure that when you do an update, the Sid or experimental repos aren’t used. They will only be used when u call on them specifically.
To install KDE 4 run
aptitude -t experimental install kde4
To update KDE 4.2, simply do what the KDE 4.2 on Debian website says, aptitude (or apt-get) dist-upgrade
This is KDE 4.2 only a few minutes after installation, already working fast, no extra configuration needed!


Thanks!
[...] bin ich dieser Anleitung gefolgt. Hat wunderbar [...]
means
thanks bro. didn’t know what that meant, got a pleasant surprise when i translated it
Hi,
I followed your post and tried installing KDE 4.2 on Lenny.
I succeeded in installing it but it is not supporting networking. I do get a valid IP but still.
The error i get is:
“resolvconf: Error: /etc/resolvconf/run/interface is not a directory”
Can you help me with this.
Hi, thanks for helping KDE and Debian.
Just for clarification, “the answer”, although it fits very nicely to the explanation you have, is in fact “The Answer” - The Answer to Life, the Universe, and Everything (http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything)
Cheerio and thank again!
Yes, it does work perfecly
to ivan
i was just kidding. I didn’t know what the real reason for the name was, but this was a little joke i made
thanks for telling me tho, i was wondering what the real meaning was
I’ve realized that much
As for the number 42, well, the developers are geeks (myself not excluded), and geeks usually love the /Guide/
[...] Debian Lenny: Check this post [...]
[...] http://linuxsaga.com/guide/kde-42-in-debian-testing-lenny [...]
Great Guide.
It seems as of today, the experimental source needs not to be added to install KDE4. Sid would be enough.
Thank you!
[...] How to install KDE 4 in Debian 5th July 2009 written by Francisco Sayan KDE 4 is in Debian Squeeze and Unstable now. Now you do not have to use the old pinning method to install it (which was here: KDE 4.2 in Debian Testing (Lenny) [...]