Ubuntu Linux: Install KDE 4.2

Posted on in Categories , , , last updated December 6, 2008

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:

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

21 comment

  1. @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

  2. @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

  3. 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

  4. 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

  5. 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

  6. —————————————————————————————————

    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)

    [email protected]:~/Desktop$ cd amarok-2.2.1

    [email protected]:~/Desktop/amarok-2.2.1$ mkdir amarok-2.2.1-build

    [email protected]:~/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

    [email protected]:~/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

    [email protected]:~/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

    [email protected]:~/Desktop/amarok-2.2.1$

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

    If you know the procedure to install…

    Pls mail me to the Address : [email protected]

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

    Regards,

    S.A.Rahman

  7. 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.

Leave a Comment