With all the hoopla and excitement today in regards to KDE 4.0 release I thought I would publish some instructions on installation for those that want to try it out. There is a KDE 4.0 LiveCD available if you’d like to “try before you buy”, and this tutorial will install KDE 4.0 alongside your current installation so you should still be able to revert if you run into problems.

This tutorial is based on Ubuntu Geeks KDE 4.0 guide and the KDE 4.0 guide at Kubuntu.org.

Installing KDE 4.0

First of all we need to update the repository sources list to pull these new KDE 4.0 packages from the kubuntu team PPA (Personal Package Archive). We do that by editing the /etc/apt/sources.list file:

sudo vim /etc/apt/sources.list

You’ll want to then append this line:

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main

(The above should be on one line.) We’re now ready to install the KDE 4.0 packages:

sudo aptitude update
sudo aptitude install kde4-core

Removing Previous KDE 4.0 Releases

note: do make sure you remove any previous KDE 4.0 installations you may have been playing with. The previous packages can have conflicts with this newer release from the PPA.

To remove previous KDE 4.0 packages, use the command:

sudo aptitude remove kdelibs5 kde4base-data kde4libs-data

You can now launch your newly added KDE 4.0 environment from the login manager by selecting KDE 4. Enjoy!

I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.

Related Posts

Random Posts

-->

Comments

19 Responses to “How To Install KDE 4.0 in Kubuntu 7.10”

  1. John L. Clark on January 11th, 2008 12:12 pm

    I’ve definitely been affected by the increasing excitement surrounding the approaching (and now arrived) KDE 4.0 release. I had kept my eye on Akregator to see if Planet Ubuntu would discover an article describing how to install KDE 4.0 under Ubuntu, and here it is! You have my thanks.

    After following your instructions, the Kubuntu upgrade manager indicates that many packages can be upgraded from the newly added repository. I’m guessing it’s not really safe to do that; is there any way that I can tell the upgrade manager to ignore upgrades from this repository except for those upgrades pertaining to KDE 4.0?

  2. dave on January 11th, 2008 2:10 pm

    great guide from ubuntugeek and ubuntugeek become really interesting ubuntu tutorials website

  3. Luiz on January 11th, 2008 2:25 pm

    I suggest using nano instead of vim on the tutorial. Newbies trying to install KDE 4.0 may be confused while using it.

    Nice work, anyway.

  4. Terence Simpson on January 11th, 2008 2:49 pm

    Just a note: you don’t need to remove the RC2 packages before installing the 4.0.0 packages, they upgrade nicely. You may however need to temporally disable gutsy-backports if you get some nice dependency errors.
    Rock on KDE!

  5. Derek Buranen on January 11th, 2008 8:38 pm

    Isn’t there a way with tee and >> /etc/apt/sources.list taht we can make a one liner to append to the sources.list?

    As bloggers, we could do that and then link to the apturl:/ as step 2.

    Just a thought. Thanks for publishing this, I’m apt-getting as I type. Cheers.

  6. Alexaander on January 12th, 2008 2:26 pm

    it’s really cool although if you use kubuntu you can just type sudo kate /etc/apt/sources.list
    (Kate stands for “K Advanced Text Editor”)

  7. Emery on January 13th, 2008 6:30 pm

    so, how exactly DO you select it from Login Manager?

  8. me on January 14th, 2008 3:12 am

    just tried out kde4, and am not impressed at all. lots of eyecandy, lots of clicking and useless features too, like your taskbar becoming widget features i really dont like.. a real system resource hog, its like vista. the start menu has become a lot like vista’s. there seems to be lots of graphical bugs too. fgs even the black theme reminds me of vista.

    oh well, everyone will have their own opinion, thats just mine. i’ll stick with previous version of kde for now.

  9. Dread Knight on January 16th, 2008 1:16 am

    @me: well, although i pretty much like kde4, I definitely think you are right !

  10. El Cerrajero on January 16th, 2008 7:54 pm

    Remember! KDE 4.0 is a version for testers!

    It’s important to understand this in order to not feel frustrated but help to develop and to debug KDE.

  11. If I Get Old on January 17th, 2008 7:35 am

    I just want to make sure before I try this. Will I be able to choose between KDE 3.5 and 4.0 at the logon screen?

  12. Christer Edwards on January 17th, 2008 2:36 pm

    @If I Get Old - yes, you will be able to chose between both, which is the appeal of the method at this point.

  13. Tberben on January 18th, 2008 11:20 am

    You can avoid using editors to append the repository location at all, simply use:
    ~$ echo “repo location” | sudo tee -a /etc/apt/sources.list

  14. david on January 20th, 2008 5:35 am

    Is this it ?? I spend the last 5 years learning command line stuff, I destroy perfectly good installs with mistakes, and so I learn the hard way. Now, some bozzo writes a 3 line method of installing something new and now I suppose they want thanks ;0)

  15. ghpk on January 23rd, 2008 5:36 am

    I installed ubuntu and later i installed kubuntu but i feel ubuntu was more of my liking but i do need to have KDE 4 in ubunutu

    is there a way i can install only KDE4 in ubuntu, i tried it but it installed KDE3 some how, i would need KDE 4 on my current ubuntu 7.10 gusty

  16. Miguel Ruiz on February 1st, 2008 1:34 pm

    Thanks. This Article is really helpful.

    I am really new with Ubuntu and I want to know what would happened if I decide to install KDE 4 in Ubuntu Server. Is it possible?

    If it is possible, How Can I do it?

  17. mickael on February 7th, 2008 9:38 pm

    Kde is a desktop solution and its not a good idea to use on a server.

  18. xiao_haozi on February 28th, 2008 5:11 pm

    also for a one liner can do:
    sudo echo “deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main” >> /etc/apt/sources.list

  19. buckeyered on April 5th, 2008 1:41 pm

    I like it. It does remind me of Vista. But it runs way better than Vista and uses alot less resources, it seems. I was also able to get desktop effects working without going through a whole mess a setting up anything. It is more like the Gnome version of Ubuntu now that just has to option to check “Enable Desktop effects.” And I am surprised that it worked on the first try without me having to do a whole mess of installing or editing xorg.conf. Good deal.

Leave a Reply




    OSCON


    OSCON 2008

    Subscribe to the RSS feed!


    subscribe to the ubuntu tutorials RSS feed

    Polls


  • Regarding the Ads on Ubuntu Tutorials...

    View Results

    Loading ... Loading ...

  • Blogroll

  • Ads by Google