LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2002, 10:07 AM   #1
natto34
Member
 
Registered: Mar 2002
Distribution: Custom - LFS base
Posts: 30

Rep: Reputation: 15
installing gcc


I need to intall gcc on my machine. I'm running redhat 7.2 and was looking for a clear cut way to do so without any major problems. If anyone knows of a way please explain.
 
Old 03-26-2002, 11:58 AM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
gcc comes with red hat, but if you didn't select it at install time, it wouldn't have installed so, you wanna just install it from the CD's. I can't remember which one has it on it, but you can open Kpackage or a RedHat specific RPM software manager if there is one (I can't remember) and find the cd with it on it and install. It'll tell you what dependancies you may run into and will suggest installing them as well to make sure gcc runs correctly. If Kpackage or a package manager doesn't work right, the best way would be to install from command prompt using rpm function.
 
Old 03-26-2002, 12:20 PM   #3
natto34
Member
 
Registered: Mar 2002
Distribution: Custom - LFS base
Posts: 30

Original Poster
Rep: Reputation: 15
I'm running the gnome windows manager, so i tried using gnorpm to intall it off the second install cd, but it just lists dependencies and asks if i want to go ahead without them. It doesn't give me the option of letting it search for them.
 
Old 03-26-2002, 12:24 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
There should be a button allowing you to install gcc and all dependant programs. Try using Kpackage, just click run program and type kpackage in GNOME if you want. See what it says...Like I said, if the software managers are being a pain, you can always write down all of the dependant programs that it lists and then open a console and use rpm -ivh packagename to install each one seperately from the /mnt/cdrom directory, or wherever you have it mounting.
 
Old 03-26-2002, 01:16 PM   #5
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
I think gcc 2.96 come with RedHat.
 
Old 03-26-2002, 04:36 PM   #6
mxpx_xl
LQ Newbie
 
Registered: Mar 2002
Posts: 2

Rep: Reputation: 0
Arrow Redhat 7.2

Redhat 7.2 comes with a 2.x version of GCC, not sure which, it ALSO comes with a 3.x, but this is an optional one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need help on installing GCC. Jonka Linux - Software 2 11-12-2003 04:12 PM
Installing gcc 3.3 Shienarier Linux - Software 6 06-08-2003 11:25 AM
Installing GCC sovietpower Linux - Newbie 1 06-01-2003 05:28 PM
Installing GCC 3.1 over GCC 2.96...? aaronluke Linux - General 3 09-27-2002 05:28 AM
Installing gcc-2.95.3 X11 Linux - Software 2 04-26-2002 09:49 AM


All times are GMT -5. The time now is 07:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration