How to install KDE 4.1 in Ubuntu/kubuntu 8.04 (Hardy Heron)

Sponsored Link
On 29th July 2008, The KDE Community released KDE 4.1.0. This release is the second feature release of the KDE 4 series, sporting new applications and newly developed features on top of the Pillars of KDE4. KDE 4.1 is the first KDE4 release to contain the Personal Information Management suite KDE-PIM with its E-Mail client KMail, the planner KOrganizer, Akregator, the RSS feed reader, KNode, the newsgroup reader and many more components integrated into the Kontact shell. Furthermore, the new desktop shell Plasma, introduced in KDE 4.0, has matured to the point where it can replace the KDE 3 shell for most casual users. Like with our previous release much time has been devoted to improving the framework and underlying libraries on which KDE is built. .If you want to know more features in KDE 4.1 check here

KDE 4.1 Highlights

  • Greatly expanded desktop shell functionality and configurability
  • KDE Personal Information Management suite ported to KDE 4
  • Many new and newly ported applications

Install KDE 4.1 in Ubuntu/Kubuntu hardy

You need to edit the /etc/apt/sources.list file

sudo gedit /etc/apt/sources.list

For Kubuntu Users use the following command

sudo kate /etc/apt/sources.list

add the following line

deb hardy main

save and exit the file

Update the source list using the following command

sudo apt-get update

For Ubuntu 8.04 users use the following command to install

sudo apt-get install kubuntu-kde4-desktop

For Kubuntu 8.04 users use the following command to install

sudo apt-get dist-upgrade

Note you may need to install kdebase-runtime-data-common in order to get Application directory icons under the Kickoff menu.

To install the KDE 4 PIM packages,use the following commands

sudo apt-get update

sudo apt-get install kdepim-kde4

Enjoy your new KDE 4.1 desktop

Sponsored Link

Related posts

You may also like...

36 Responses

  1. Allan says:

    Hey after following the instructions i wasn’t able to aptitude update or aptitude upgrade or aptitude dist-upgrade and the kdebase-runtime-common coulnd’t be found


  2. spedoinkle says:

    did it give you an error? could be something wonky in your sources.list check it or just post it here.

  3. Babo says:

    I really enjoy with KDE4 desktop. then how can I do to uninstall it.

  4. hellhound_x says:

    Couldn’t find package kdepim-kde4

    When I boot into ubuntu, it comes up with kubuntu on load, sign in kubuntu style, then when I get in to ubuntu and I go to System (drop down) it says About GNOME in the menu not KDE. I presume I have gone wrong somewhere?


  5. hellhound_x says:

    apologies basic error on my part, did not choose kde from the initial login menu, whoops, thanks then, this howto worked a treat

  6. admin says:


    you can uninstall using the following command

    sudo apt-get remove kubuntu-kde4-desktop

  7. dave says:

    running sudo-apt-get remove kubuntu-kde4-desktop only removed the meta package….still had everything else installed.

  8. .mrt says:

    I needed to used both “kubuntu-kde4-desktop” and “dist-upgrade”, but after that got it running like a charm.
    I had just upgraded Kubuntu 7.10 (actually Estobuntu which is based on Kubuntu 7.10 + Estonian addons) to 8.04 Hardy repos. Installing KDE 4.1 was really easy using the instructions above.
    Thanks Ubuntu Geek!

  9. rich says:

    yeah, srsly, how do I remove it properly?

  10. Mike says:

    I installed everything needed in Synaptic and it runs like a charm! I did have to choose some extra base files for KDE4 but otherwise no issues.

  11. admin says:

    @rich try the following command

    sudo apt-get --purge remove kubuntu-kde4-desktop

  12. Mark says:

    I followed this using kubuntu. The only thing I needed to do differently was replace “gedit” with “kate”. As a newbie, it threw me for a bit, but managed to figure it out.

  13. admin says:


    thanks for your comment i have updated the article now

  14. Mark says:

    When I finished the install, I assumed it would be like I expected, that is, Kubuntu with KDE 4.1. Though it seemed to go through the process of installing, it never changed from being a 3.5.9 KDE. There were 4.1 packages in the menus (along side the older versions), but the desktop didn’t change. Obviously newbie problems here. But it would be nice to have it be a little more intuitive. Or maybe it will work if I start with Ubuntu rather than Kubuntu. In case I can get some helpful hints, I am keeping the iso handy. What I am looking for is Kubuntu running 4.1 KDE and 3.5… no longer evident. Thanks.

  15. Rich says:

    sudo apt-get –purge remove kubuntu-kde4-desktop

    didn’t work, I’m afraid. Is there any way I can find all the packages from the new repos and remove them? Or just a way to uninstall it? cheers

  16. ruhaan says:

    i have installed kde 4.1 but when i boot into it i get nothing but a white screen eveything seems to be working fine becoz i can open the task manager and see that everything is runnin fine yet i can not do anything coz there is nothin other then a white screen

  17. matt says:

    I need help

    when you say “add the following line

    deb hardy main”

    where do I add that, I mean where in the file

  18. admin says:


    You can add that line at the end of the file

  19. Mondo says:

    I’m trying to upgrade from KDE 4.0.3 to 4.1 and I’m running Kubuntu Hardy. I’ve done apt-get dist-upgrade which did not fully complete. I was then prompted to run apt-get -f install which produces:Preparing to replace libkonq5-dev 4:4.0.3-0ubuntu2 (using …/libkonq5-dev_4%3a4.1.0-0ubuntu1~hardy1~ppa2_i386.deb) …
    Unpacking replacement libkonq5-dev …
    dpkg: error processing /var/cache/apt/archives/libkonq5-dev_4%3a4.1.0-0ubuntu1~hardy1~ppa2_i386.deb (–unpack):
    trying to overwrite `/usr/lib/kde4/lib/’, which is also in package kdebase-dev-kde4
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Now I can’t do anything with apt-get without it telling me I need to run apt-get -f install

  20. admin says:


    try to run the following command and check

    sudo apt-get -f install

  21. Michael says:

    How can I remove the complete package?

  22. Joel says:

    Same white screen problem as ruhaan

  23. shane says:

    i tried it for a day… kde4 is still buggy… (i couldnt install new plasmoids and that was a big turn off)… maybe i’m just a slave to fluxbox 😀

    for those of you who want to remove kde4, run this… it worked for me

    sudo aptitude remove akonadi-kde-kde4 akregator-kde4 ark-kde4 dolphin-kde4 gwenview-kde4 jockey-kde juk-kde4 kaddressbook-kde4 kalarm-kde4 kamera-kde4 kate-kde4 kde4libs-bin kdebase-bin kdebase-bin-kde3 kdebase-bin-kde4 kdebase-data-kde4 kdebase-kio-plugins kdebase-plasma-kde4 kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace-bin kdebase-workspace-data kdebase-workspace-libs4+5 kde-icons-oxygen kdelibs5 kdelibs5-data kdemultimedia-kio-plugins-kde4 kdepim-kde4 kdepim-kio-plugins kdepim-kresources kdepim-kresources-kde4 kdepimlibs5 kdepimlibs-data kdepim-strigi-plugins-kde4 kdepim-wizards kdepim-wizards-kde4 kdesktop kdesudo kdesudo-kde4 kde-window-manager kdm-kde4 khelpcenter-kde4 kjots-kde4 klipper-kde4 kmail-kde4 kmilo-kde4 kmix-kde4 knetworkconf-kde4 knode-kde4 knotes-kde4 kode-kde4 konqueror-kde4 konqueror-nsplugins-kde4 konsolekalendar-kde4 konsole-kde4 kontact-kde4 kopete-kde4 korganizer-kde4 kppp-kde4 krdc-kde4 krfb-kde4 kscd-kde4 ksnapshot-kde4 ksysguardd-kde4 ksysguard-kde4 ktimetracker-kde4 ktnef-kde4 kubuntu-kde4-desktop kwalletmanager-kde4 libkcddb4-kde4 libkdecorations4 libkdepim1a libkdepim4-kde4 libkholidays4-kde4 libkleo4-kde4 libkpgp4-kde4 libksieve4-kde4 libmaildir4-kde4 libmimelib4-kde4 libokularcore1-kde4 network-manager-kde okular-kde4 software-properties-kde system-config-printer-kde systemsettings-kde4 libpoppler-qt4-3 libqt4-assistant libqt4-core libqt4-dbus libqt4-designer libqt4-dev libqt4-gui libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-webkit libqt4-xml libqt4-xmlpatterns python-qt4 python-qt4-common python-qt4-dbus qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig

  24. Rich says:

    I used the following command to remove KDE 4.1 from my Ubuntu install:

    sudo apt-get purge kde-icons-oxygen kdelibs-data && sudo apt-get --purge autoremove

  25. Rich says:

    argh, wordpress messed up the command. Use two minus signs before the second “purge”, not a dash.

  26. avanti says:

    Hot to install 4.1 with ubuntu gutsy 7.10?

  27. Les says:

    I’m just guessing, but you may need to choose “KDE 4.1 session” when you login. On the login screen (when you boot up the computer), look for a dropdown box that says “Session type” or something like that (I forget the exact terms used).

  28. Jim says:

    Got it working just fine. However, I have reverted back to kde3.5. There are too many things yet missing in kde4 for now: no panel hiding is the biggy for me, but also all panel configuration in general, administrator mode for login manager, etc. , etc., I don’t understand why kde4 was released with this much missing !

  29. mjc says:

    After following this titorial, for some reason I still only have KDE (3) as a session choice at login, even though repeating the “sudo apt-get dist-upgrade” command confirms 0 to install and 0 to upgrade.
    I added the repository to the sources list, I even installed the KDE 4 PIM packages. What could I be doing wrong?


Leave a Reply

Your email address will not be published.