How to install KDE 4.0 on Ubuntu

With today's release of KDE 4.0, there comes a lot of excitement in the KDE user community. Many want it and want it right now. Therefore I'm providing simple instructions on how to install it on your existing gutsy system.

First add the following text to your apt sources located at /etc/apt/sources.list:

<div class="wp_syntax">
<div class="code">
<pre class="bash">
deb <a href="http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu" title="http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu">http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu</a> gutsy main
</pre>
</div>
</div>

Save the file and exit. Update your packages lists by running apt-get update

<div class="wp_syntax">
<div class="code">
<pre class="bash">
Hit <a href="http://archive.ubuntu.com" title="http://archive.ubuntu.com">http://archive.ubuntu.com</a> gutsy-proposed/universe Packages
Fetched 95.0kB in 1s (55.8kB/s)
Reading package lists... Done
</pre>
</div>
</div>

Once completed, run apt-get install kde4-core

<div class="wp_syntax">
<div class="code">
<pre class="bash">
0 upgraded, 39 newly installed, 0 to remove and 33 not upgraded.
Need to get 103MB of archives.
After unpacking 195MB of additional disk space will be used.
Do you want to continue [Y/n]? y
</pre>
</div>
</div>

It'll begin downloading and when finished, will start the install process. During the install process, you might notice kde4 apps appearing in your Kmenu. In order to fully run kde 4.0, logout of your existing windows manager and choose kde 4.0 as the session manager.