≡ Menu

How to: Install KDE 4 Desktop under Ubuntu Linux 7.10

KDE 4 has been released. I've received couple of questions about installing KDE 4 under Ubuntu Linux 7.10. KDE 4 Packages are available for Ubuntu Linux version 7.10 (Gutsy) and from development Ubuntu Linux Hardy version. They install to /usr/lib/kde4 and can be installed alongside your existing KDE 3. However these packages are not compatible with KDE 4 beta packages. Following simple step will help you install KDE 4.

How do I install KDE 4 under Ubuntu Linux?

First you need to update Ubuntu package source file.

WARNING! These examples may crash your Desktop as KDE v4.0 packages are not 100% compatible with Ubuntu 7.10. Following instructions worked on my desktop but failed to work on Laptop. YMMV.

Step # 1: Update Source File

Open a terminal

Open /etc/apt/sources.list file using a text editor such as vi or gedit, enter:
$ sudo vi /etc/apt/sources.list
OR
$ sudo gedit /etc/apt/sources.list
Append following line:
deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main
Close and save the file. Type the following command to update package list:
$ sudo apt-get update

GUI tool to update software source

Alternatively, you can use GUI tool by visiting System > Administration > Software Sources > Third Party Software > Add > Enter url 'deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu gutsy main' > Add Source > Update > Close
Add KDE 4 as Software Source for Ubuntu Linux
(Fig. 01: Update Software Source for KDE 4)

Step # 2: Install KDE 4 desktop

To install kde 4, enter:
$ sudo apt-get install kde4-core
You'll get a warning when installing kde 4, just force to install the same without verification:

WARNING: The following packages cannot be authenticated!
Install these packages without verification [y/N]? y

Output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dbus-x11 dolphin-kde4 kappfinder-kde4 kde-icons-oxygen kde4libs-bin kdebase-bin-kde4 kdebase-data-kde4 kdebase-kde4 kdebase-runtime
  kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace kdebase-workspace-bin kdebase-workspace-data
  kdelibs5 kdelibs5-data kdepasswd-kde4 kdepimlibs-data kdepimlibs5 kfind-kde4 klipper-kde4 konqueror-kde4 konqueror-nsplugins-kde4
  konsole-kde4 ksysguard-kde4 ksysguardd-kde4 kwin-kde4 kwrite-kde4 libcapseo0 libcaptury0 libclucene0 libexiv2-0 libgpgme11 libkonq5
  libkonq5-templates libphonon4 libplasma1 libpth20 libqimageblitz4 libraptor1 librasqal0 librdf0 libsoprano4 libstreamanalyzer0
  libstreams0 libstrigiqtdbusclient0 systemsettings-kde4
Suggested packages:
  kdebase kde-i18n sword-frontend gpgsm
Recommended packages:
  exiv2 raptor-utils redland-utils
The following NEW packages will be installed:
  dbus-x11 dolphin-kde4 kappfinder-kde4 kde-icons-oxygen kde4-core kde4libs-bin kdebase-bin-kde4 kdebase-data-kde4 kdebase-kde4
  kdebase-runtime kdebase-runtime-bin-kde4 kdebase-runtime-data kdebase-runtime-data-common kdebase-workspace kdebase-workspace-bin
  kdebase-workspace-data kdelibs5 kdelibs5-data kdepasswd-kde4 kdepimlibs-data kdepimlibs5 kfind-kde4 klipper-kde4 konqueror-kde4
  konqueror-nsplugins-kde4 konsole-kde4 ksysguard-kde4 ksysguardd-kde4 kwin-kde4 kwrite-kde4 libcapseo0 libcaptury0 libclucene0 libexiv2-0
  libgpgme11 libkonq5 libkonq5-templates libphonon4 libplasma1 libpth20 libqimageblitz4 libraptor1 librasqal0 librdf0 libsoprano4
  libstreamanalyzer0 libstreams0 libstrigiqtdbusclient0 systemsettings-kde4
0 upgraded, 49 newly installed, 0 to remove and 2 not upgraded.
Need to get 105MB of archives.
After unpacking 204MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libphonon4 libstreams0 libstreamanalyzer0 kdelibs5-data kde4libs-bin kdelibs5 libstrigiqtdbusclient0 libkonq5-templates libkonq5
  dolphin-kde4 kappfinder-kde4 kdebase-data-kde4 kdebase-bin-kde4 kdepasswd-kde4 kfind-kde4 konqueror-nsplugins-kde4 konqueror-kde4
  konsole-kde4 kwrite-kde4 kdebase-kde4 kdebase-workspace-data libplasma1 ksysguardd-kde4 ksysguard-kde4 kdebase-workspace-bin klipper-kde4
  kwin-kde4 systemsettings-kde4 kdebase-workspace kdepimlibs-data kdepimlibs5 kde4-core...
Install these packages without verification [y/N]? y
Get:1 http://ppa.launchpad.net gutsy/main libphonon4 4:4.0.0-0ubuntu2~gutsy1~ppa1 [164kB]
Get:2 http://archive.ubuntu.com gutsy-backports/universe kde-icons-oxygen 4:4.0.0-0ubuntu1~gutsy1 [45.4MB]
Get:3 http://in.archive.ubuntu.com gutsy/main dbus-x11 1.1.1-3ubuntu4 [34.8kB]
................
...
.........
Setting up systemsettings-kde4 (4:4.0.0-0ubuntu7~gutsy1~ppa1) ...
Setting up kdebase-workspace (4:4.0.0-0ubuntu7~gutsy1~ppa1) ...
Setting up kde4-core (3.3~gutsy1~ppa1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Note: It may take some time to install kde 4. You also need to disable compiz 3d desktop effect support.

References:

=> Kubuntu Project - Be Free with KDE 4.0

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

{ 10 comments… add one }

  • Dirk January 27, 2008, 2:25 am

    I have in installed the kde-core as instructed. I do not get the kde desktop option in the splash screen at start-up. I only have ubuntu 7.10 but not kubuntu. Do I have to install the kde desktop (kde3) as well?

  • Barry January 30, 2008, 3:46 am

    @Dirk
    Its not a different version of ubuntu so you dont choose it at boot, you click options on the login screen, click on sessions, then choose KDE.

  • Chris February 6, 2008, 11:08 pm

    Thanks for the instructions. Better than the instructions from the KDE site

  • Marty Young February 9, 2008, 9:18 pm

    I installed kde4 on my studio ubuntu 7.10 with no problem. neo 2 motherboard,2.8ghz nvideo video. desktop is indeed different but kink of cool,. Something new to learn. Thanks , I was wondering how i was going to make the change. Marty Young ct,usa

  • John February 14, 2008, 6:24 pm

    Cheers for the clear instructions. Making my life learning KDE 4 alot easier.

    Many Thanks

  • Issac February 17, 2008, 10:45 pm

    I tried it but got this error message:

    $ sudo apt-get install kde4-core
    Reading package lists… Done
    Building dependency tree… Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    kde4-core: Depends: kdebase-kde4 (>= 4:4.0.0) but it is not going to be installed
    Depends: kdebase-workspace (>= 4:4.0.0) but it is not going to be installed Depends: kdebase-runtime (>= 4:4.0.0) but it is not going to be installed
    Depends: kdelibs5 (>= 4:4.0.0) but it is not going to be installed
    Depends: kdepimlibs5 (>= 4:4.0.0) but it is not going to be installed
    E: Broken packages

    It also didn’t work to use aptitude:

    $ sudo aptitude install kde4-core
    Reading package lists… Done
    Building dependency tree… Done
    Reading extended state information
    Initializing package states… Done
    Building tag database… Done
    The following packages are BROKEN:
    dolphin-kde4 kappfinder-kde4 kde4libs-bin kdebase-bin-kde4 kdebase-runtime
    kdebase-runtime-bin-kde4 kdebase-workspace-bin kdelibs5 kdepasswd-kde4
    kdepimlibs5 kdm-kde4 kfind-kde4 klipper-kde4 konqueror-kde4
    konqueror-nsplugins-kde4 konsole-kde4 ksysguard-kde4 ksysguardd-kde4 kwin-kde4
    kwrite-kde4 libkonq5 libphonon4 libplasma1 libsoprano4 libstreamanalyzer0
    libstreams0 libstrigiqtdbusclient0 systemsettings-kde4

    Resolving dependencies…
    Unable to resolve dependencies! Giving up…
    Abort.

  • bbooth February 20, 2008, 3:11 am

    I just installed Kubuntu 7.10 and had the same broken packages message. Turns out my /etc/apt/sources.list file had a bunch of lines commented out by the installer because it coudn’t verify. I uncommented them, apt-get updated, and then tried the kde4-core install. Works now.

  • boby April 13, 2008, 10:52 am

    Didn’t work for me :(

  • svzard May 3, 2008, 7:56 am

    Hey, I tried what you told but on top of Hardy. Everything went smooth, it asked which display manager you want to be default and I chose ‘gdm’ (coz, i’m only testing KDE 4). But when I chose KDE from ‘Select Session’ and tried logging in, it just shows the splash screen similar to one given at the kubuntu site, then for some reason logs out automatically and comes to ubuntu log-in screen again. What could be wrong? You asked to disable compiz.. My hardware is not capable of it. Yet please let me know how to disable it if its enabled and if its the cause of this error…

  • ryan February 25, 2009, 1:43 am

    i got the same error as Issac above…i also ran into the problem that my /var/lib/dpkg/lock file was not mine (it belonged to root) and i was not allowed to write on it. changing the permissions was like impossible cuz im not root.
    that was a lot of fun….and yes, very detailed instructions

Leave a Comment