Link to home
Start Free TrialLog in
Avatar of DanRaposo
DanRaposoFlag for United States of America

asked on

Can I use Yum groupinstall to install gnome dekstop off of Redhat cdrom?

Can I use something like  yum groupinstall "GNOME Desktop Environment" tp install the GNOME rpms on a Redhat 5 system that doesn't have access to the RHN?

If so, how do I do it?  Do I need to set a conf file first or do I need to be in the proper directory?
The media is a Redhat 5 DVD rom.
ASKER CERTIFIED SOLUTION
Avatar of ifreq
ifreq
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DanRaposo

ASKER

Hi .. sorry about the long delay.  I tried this out and think I did something wrong.  I created a file in the  yum.repos.d dir as specified above.   I called the file gde.conf  (was that OK?)

The exact syntax of the file is

[dvdmedia]
name=Red Hat 5 DVD
baseurl=file:///mnt/cdrom/Server/
enabled=1

When entering yum groupinstall "GNOME Desktop Environment"
I get the following
Loading "rhnplugin" plugin
loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Warning: Group GNOME Desktop Environment does not exist.
No packages in a nay requested group available to install or update


Any thoughts?

The cdrom is mount as /dev/hda on /mnt/cdrom  the contents  of /mnt/cdrom/Server is all the rpms on the DVD.

NEVER MIND .. the file must be called file.repo. Your suggestion worked great .. THANK YOU!!