Solved

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

Posted on 2008-10-14
3
4,014 Views
Last Modified: 2013-12-15
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.
0
Comment
Question by:DanRaposo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
ifreq earned 500 total points
ID: 22749033
Greetings,

Try the following To install using yum / DVD:

Mount Redhat 5 DVD on your server/workstation.

Create a new file in /etc/yum.repos.d/ with the following contents to update directly from the RPMs on the disk:

[dvdmedia]
name=Red Hat 5 DVD
baseurl=file:///path/to/mounted/DVD/rpms/
enabled=1


yum groupinstall "GNOME Desktop Environment"

After the installation either remove the created file from /etc/yum.repod.d  or disable it with "enabled=0"

Let me know if this worked for you.


For future use I recommend you to get the license for RHEL (for updates), or installing Fedora Core which is in all ways same product without the paid(license)  support from Red Hat.

0
 

Author Comment

by:DanRaposo
ID: 22834063
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.

0
 

Author Comment

by:DanRaposo
ID: 22834118
NEVER MIND .. the file must be called file.repo. Your suggestion worked great .. THANK YOU!!
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question