To install KDE on RHEL 6, we first need the EPEL repository. To add EPEL repository, issue the command:
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
After successful completion of this step, yum repolist will give the repositories enabled.
Now, issue the following command:
yum groupinstall “KDE (K Desktop Environment)”
It will generate the list of files and packages to be downloaded as well as their size. Dependencies will also be resolved automatically and after that, KDE will be installed without any hassle.
However, in my case, the package libunicap was refusing to install because of the non-availability of the file libraw1394.so.8. And after some more time, it got to me that this file has to be part of another package and not the packages ‘libraw1394-2.0.4-1.el6.x86_64’ or ‘libraw1394-devel-2.0.4-1.el6.x86_64’. So, I had to search the corresponding RPM and found that it is part of ATrpms project. Now, I am not sure whether ATrpms and RHEL 6 are properly integrated. I downloaded the necessary RPM ‘libraw1394_8-1.3.0-8_11.el4.x86_64’ and found that the file libraw1394.so.8 is part of that package.
# rpm -ql libraw1394_8-1.3.0-8_11.el4.x86_64
/usr/lib64/libraw1394.so.8
/usr/lib64/libraw1394.so.8.2.0
After this package got installed, installing KDE went smooth.