LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2004, 09:42 PM   #1
rfk
LQ Newbie
 
Registered: Sep 2004
Posts: 16

Rep: Reputation: 0
Need GCC--Is is an RPM with Redhat9?


Hi:
Just installed Redhat 9 and all works well. I'd like to get a C/C++
compiler on the box and am trying to locate the GCC RPM. I am
unfamiliar with RPMs and am not certain how to locate them on
my Redhat box. So:
1) How do I know if the RPM for GCC came with Redhat?
2) If it did not, where can I get a GCC for Redhat?

- Rolf.
 
Old 09-29-2004, 12:34 AM   #2
aiims1777
Member
 
Registered: Oct 2003
Location: India
Distribution: Kubuntu Dapper Drake, Edgy Eft;Red Hat Linux 9 Personal Edition
Posts: 39

Rep: Reputation: 15
The gcc rpm is a part of the redhat 9 distro but is not installed by default. type
redhat-config-packages
at the command prompt. The gcc package is a part of Development Tools. See details of this group, check gcc and exit by clicking upgrade. you will be prompted to insert one of the redhat 9 install cds after awhile and the package will then be installed.
 
Old 10-04-2004, 09:10 PM   #3
rfk
LQ Newbie
 
Registered: Sep 2004
Posts: 16

Original Poster
Rep: Reputation: 0
OK, I've run the rehat-config-packages command and chose the Development Tools but when the
Package Management program begins the upgrade process it prompts for "Red Hat Linux 9 disk 2".
I insert the 2nd installtion CD and press OK but I'm still prompted for disk 2.
In a terminal window, I see the 2nd CD in /mnt/cdrom and it is indeed the 2nd installation
CD.
Why do I keep getting prompted for the 2nd CD? Is the Package Management program looking
in /mnt/cdrom for the 2nd installation disk?

- Rolf
 
Old 10-05-2004, 07:02 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Possibly the cdrom is not being auto mounted.
Login as root, insert cd, type
mount -a
or
mount /mnt/cdrom
Check by doing
ls /mnt/cdrom
should not be empty. Now go to rehat-config-packages...
 
Old 10-05-2004, 09:30 AM   #5
rfk
LQ Newbie
 
Registered: Sep 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Well, the CD is mounted. In a terminal window I can see /mnt/cdrom and the
2nd installation CD's files under /mnt/cdrom. The problem is not that the
CD is not being mounted. It is mounted. Can it be that Package Management is looking
somplace else?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Redhat9.0] RPM-driver installation problems...failed dependencies Patrique Linux - Software 2 05-30-2004 08:59 AM
kernel-header.rpm for redhat9.0 eye Red Hat 1 10-31-2003 03:33 PM
[Redhat9] RPM install problems? Akropolis Linux - Newbie 2 08-11-2003 02:49 PM
simple redhat9 rpm install destroys whole OS qwijibow Linux - Newbie 9 07-14-2003 02:46 PM
Install evolution-1.4.0-2.i386.rpm on RedHat9 dependency issues? justinlq.org Linux - Software 3 06-25-2003 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration