How to Install KDE in CentOS

by Stephen on October 22, 2009 · 11 comments

in CentOS

To install KDE Desktop, type this:

yum groupinstall "X Window System" "KDE (K Desktop Environment)"


To install Gnome Desktop, type this:

yum groupinstall "X Window System" "GNOME Desktop Environment"


After the installation is finished, type this to start KDE or GNOME:


{ 11 comments… read them below or add one }

Dean Kamali August 24, 2011 at 8:05 pm

On CentOS 6 use
yum groupinstall “KDE Desktop”
It will be approximately a 240MB download 🙂


Raj Malla February 27, 2012 at 1:56 am

yum groupinstall “KDE Desktop”

yum groupinstall “KDE desktop”
2nd line is correct:


temp2010 September 8, 2011 at 4:25 pm

Gracias, Dean Kamali, por el dato de CentOS 6


Mike September 21, 2011 at 8:43 am

Thanks Dean.


sivaraman October 13, 2011 at 3:39 am

if i run startx command it will show fatal server error


Ryan October 13, 2011 at 8:39 am

Is there a way to backup the downloaded KDE packages so they don’t have to be downloaded again in subsequent installations of Linux?


Johnutz December 13, 2011 at 3:50 pm

Hi Ryan, actually you can, but you will have to create a kickstart image, and use it for all your installation. You might have some issues due to the hardware, but in general you will not have any problem with that. I recommend you look after kickstart configuration examples. You’ll have to read a lot and to make some tests, but it’s doable. Maybe this link it can be the start point:




PaulC January 2, 2012 at 7:25 am

I am running Centos 6.2 underVMware on a Windows 7 box ( my home desktop) on AMD64 with 8Gb memory ( Dell XPS). when I installed gnome desktop and tried startx I got a bumch of errors about :
expected kysym got ( I didn’t write it down.. something about kbd maybe? ) installing kde desktop WORKED.


Thx February 27, 2012 at 2:01 pm

Thx. I really was need for this info


Gita March 19, 2013 at 6:05 pm

On my Centos6.3 VM (Windows on host) I had GNOME, and I wanted to use KDE. It seemed like it wasn’t there. I used: “yum groupinstall KDE”, it did the installation but with a warning “Group kde-desktop package not available”. Although it did install many kde features/icons, the option to change to kde (like login screen should now have kde/gnome option, or >KDE should invoke kde etc) did not work.

Then I tried “yum groupinstall “X Window System” “KDE” “. After using this it did install/update with no warning. When I reboot the VM it tried to boot (says centOS starting in 6,…0sec) and then goes black doing nothing…..I can’t get grub menu to try single user mode etc..

Any help would be greatly appreciated.


Sajeev June 24, 2014 at 7:41 pm

use yum grouplist to list all the names , for example “KDE (K Desktop Environment)” is on centos 5.10 (cat /etc/redhat-release or cat /etc/centos-release)


Leave a Comment

Previous post:

Next post: