LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing gcc (https://www.linuxquestions.org/questions/linux-software-2/installing-gcc-17035/)

natto34 03-26-2002 10:07 AM

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.

taz.devil 03-26-2002 11:58 AM

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.

natto34 03-26-2002 12:20 PM

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.

taz.devil 03-26-2002 12:24 PM

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.

twk 03-26-2002 01:16 PM

I think gcc 2.96 come with RedHat.

mxpx_xl 03-26-2002 04:36 PM

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. :cool:


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