Thursday, October 27, 2011

Installing Gnome on RHEL 6

All the google results seemed to mention yum groupinstall "GNOME Desktop Environment". However, if you try this it, won't work.

Here's what you do:

1) Create a repo from your DVD.

- Insert the RHEL DVD into DVD drive (In my case I had iso detected on the VMware image)
- mount /dev/cdrom /mnt
- vi /etc/yum.repos.d/dvd.repo


[dvd]
baseurl=file:///mnt
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

- Save and exit


2) yum groupinstall Desktop

That's it. It will install all the required packages to have Gnome installed on the system.


Tip: Starting RHEL6 I see lot of new group installations possible. Here's the command to find that out:
yum grouplist

Labels: , ,