Ubuntu Linux: Install KDE 4.2

by on December 6, 2008 · 21 comments· LAST UPDATED December 6, 2008

in , ,

Q. How do I install KDE version 4.2 under Ubuntu Linux using binary method?

A. Some Linux/UNIX OS vendors have kindly provided binary packages of KDE 4.2 Beta 1.

You can easily install KDE 4.2 under Ubuntu Linux by visiting launchpad.net and downloading latest packages.

Install KDE 4.2 under Ubuntu Linux 8.10

Open terminal.

Type the following command to become a root user:
$ sudo bash
Type the following command to update /etc/apt/sources.list file under Ubuntu Intrepid version 8.10, enter:
# echo 'deb http://ppa.launchpad.net/project-neon/ubuntu intrepid main' >> /etc/apt/sources.list

A note about Ubuntu Hardy Linux

Add following line to your /etc/apt/sources.list file:
# echo 'deb http://ppa.launchpad.net/project-neon/ubuntu hardy main' >>/etc/apt/sources.list

Now Install KDE 4.2

Type the following command:
$ sudo apt-get update
$ sudo apt-get install kde-nightly

Reboot the system or just logout and login into new KDE 4.2. Choose KDE Nightly (Neon) from the session menu and log in again .

Fig.01: Kde Desktop v4.2 in action

Fig.01: Kde Desktop v4.2 in action

References:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 21 comments… read them below or add one }

1 Dev December 6, 2008 at 6:37 pm

Nice post i have ubuntu and i’ve try to install this. Thankyou

Reply

2 sysop December 7, 2008 at 1:55 am

I’m not getting why you want poeple to “sudo bash” first when “sudo echo ‘deb http://ppa.launchpad.net/project-neon/ubuntu intrepid main’ >> /etc/apt/sources.list” will do the same thing without leaving a root shell open

Reply

3 chatmoa December 8, 2008 at 8:31 am

This installs nightly-builds witch is sometimes unuseable.

Using this way, this would be more stable

http://www.kubuntu.org/node/58

Have fun with it.

Reply

4 Ilias Marinos December 13, 2008 at 12:32 am

@sysop:

Because “sudo echo ” will give super user perms to the command echo.It will not open the fd with superuser perms for append.Is the nickname just for fun?
FYI, if you “don’t want an open root shell” you could do for example:

echo ‘something’ | sudo tee -a /your/file/path/here

Reply

5 beetle December 27, 2008 at 11:44 am

hi,
i have tried to install it under ubuntu hardy and it seems the packages list is empty, Any clue?

Reply

6 Frank January 1, 2009 at 12:04 am

Unfortunately I chose to stick with Hardy for its “long term support”…
I didn’t realize that it only applies to Ubuntu and not Kubuntu

Reply

7 JeanJean January 1, 2009 at 11:01 pm

hello

Like bettle in previous comment I have add repo- for hardy 8.04, but it seems emtpy, any other repo- to try?
thanks :)

Reply

8 hatsch January 29, 2009 at 1:44 pm

refering to the kubuntu website kde 4.2 is not available for ubuntu hardy. you have to use intrepid or jaunty. i use intrepid myself….

Reply

9 Toni January 30, 2009 at 9:41 pm

I get the following;

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 778978B00F7992B0

Reply

10 Linuxman February 2, 2009 at 6:07 am

Doesn’t work on Hardy as stated above.
Anybody knows how to install KDE 4.2 on (K)ubuntu Hardy?

Reply

11 Root February 2, 2009 at 9:08 pm

@Toni:
Installing the repository’s public key as root will help.
# gpg –recv-keys 778978B00F7992B0
# gpg –armor –export 778978B00F7992B0 | apt-key add -

Reply

12 Toni February 7, 2009 at 12:23 am

@Root

toni@~:~$ sudo gpg –recv-keys 778978B00F7992B0
gpg: WARNING: unsafe ownership on configuration file `/home/toni/.gnupg/gpg.conf’
usage: gpg [options] [filename]
toni@~:~$ sudo gpg –armor –export 778978B00F7992B0 | apt-key add -
gpg: WARNING: unsafe ownership on configuration file `/home/toni/.gnupg/gpg.conf’
usage: gpg [options] [filename]
gpg: no valid OpenPGP data found.

Sorry for the potential irration, but I am at a loss as to what to do from here. Is my OpenPGP package hosed?

Thanks.
-Toni

Reply

13 Me February 8, 2009 at 7:30 pm

@Sysop
The safest, leanest, best way to accomplish this is:

sudo sh -c ‘echo deb http://ppa.launchpad.net/project-neon/ubuntu intrepid main >> /etc/apt/sources.list’

or like Ilias mentioned is another way of many ways.

sudo bash is just as bad as ‘sudo su -’.

@Sysop, dude, ummm, omg… Same thoughts as Ilias…

Reply

14 Acidzfire February 9, 2009 at 5:57 pm

Toni, as your regular user, run:
gpg –keyserver keyserver.ubuntu.com –recv 778978B00F7992B0

then

gpg –export –armor 778978B00F7992B0 | sudo apt-key add -

and it should work

Reply

15 Acidzfire February 9, 2009 at 5:59 pm

after that run
sudo apt-get update

and you shouldnt get any errors

Reply

16 Acidzfire February 9, 2009 at 6:02 pm

sorry. i keep forgetting to put everything in. the reason your command fails toni, is because the /home/toni/.gnupg/gpg.conf file is owned by toni and not root. when you sudo that command it runs it as root, which does not own the file. That is why you run the gpg commands as your regular user then pipe the second using sudo for the apt-update

Reply

17 IntoDevel February 21, 2009 at 10:05 pm

I solved my problems with Ubuntu by running the following commands sequentially. The first command did the trick for me.

sudo su -
gpg –keyserver keyserver.ubuntu.com –recv 778978B00F7992B0
gpg –export –armor 778978B00F7992B0 | sudo apt-key add -
sudo apt-get install kde-nightly

Reply

18 Floh March 6, 2009 at 7:37 am

Hi,

I compiled kde 4.2 for Hardy (but no backport from intrepid, its a new additonal kde that will be completely installed into /opt/kde4) and I tried to make a debian package:

http://regenduft.de/article.pl?title=KDE_4.2_for_K-Ubuntu_Hardy_8.04

Any help with making a real repository is appreciated.

Reply

19 Juan April 6, 2009 at 3:53 pm

KDE 4.2 is not available for Hardy in porject Neon!

Reply

20 Abdur Rahman December 7, 2009 at 11:45 am

—————————————————————————————————

Friends,

I tryied to install amarok in ubuntu 9.10

I am unable to install the amarok player…

please help me to install…

mysystem configuration is

Processor : Intel Pentium IV – 3Ghz

Mother Board : intel desktop board D865GSA

RAM : 512 MB (DDR2)

rahman@rahman-desktop:~/Desktop$ cd amarok-2.2.1

rahman@rahman-desktop:~/Desktop/amarok-2.2.1$ mkdir amarok-2.2.1-build

rahman@rahman-desktop:~/Desktop/amarok-2.2.1$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix`

The program ‘kde4-config’ is currently not installed. You can install it by typing:

sudo apt-get install kdelibs-bin
kde4-config: command not found

The program ‘cmake’ is currently not installed. You can install it by typing:

sudo apt-get install cmake

cmake: command not found

rahman@rahman-desktop:~/Desktop/amarok-2.2.1$ kde4-config

The program ‘kde4-config’ is currently not installed. You can install it by typing:

sudo apt-get install kdelibs-bin

kde4-config: command not found

rahman@rahman-desktop:~/Desktop/amarok-2.2.1$ sudo apt-get install kdelibs-bin

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Couldn’t find package kdelibs-bin

rahman@rahman-desktop:~/Desktop/amarok-2.2.1$

——————————————————————————————————–

If you know the procedure to install…

Pls mail me to the Address : rahman.ssar@gmail.com

————————————————————————————–

Regards,

S.A.Rahman

Reply

21 Johnny Buckallew Stroud February 23, 2010 at 4:05 am

gpg –keyserver keyserver.ubuntu.com –recv-keys 778978B00F7992B0 && gpg –export -a 778978B00F7992B0 | sudo apt-key add -

and done. this will fix the PGP key error .. maybe just an epic fail.

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , ,

Previous Faq:

Next Faq: