-   Linux - Newbie (
-   -   how to install c compiler (

albanas 07-28-2004 06:57 AM

how to install c compiler
I have SME 6.01 (redhat based). I need to install c compiler. How to do this? Thanks.

jkobrien 07-28-2004 07:18 AM

You might have it already, as that's a pretty standard part of most distributions.

Type "which gcc" to find out.


albanas 07-28-2004 07:34 AM

I think I dont:

[root@bankas root]# which gcc
/usr/bin/which: no gcc in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

and I had error that says I have no c compiler.

jkobrien 07-28-2004 08:56 AM

Ok, if SME is redhat-based you could try the RPM repository or you can get the sources directly from the gcc homepage.


leadazide 07-28-2004 09:08 AM

I'm not well informed about different distros, so I've never heard of SMI, sorry Since you say it's redhat based, it must be able to handle rpms. If you installed it from a cd, gcc MUST be on this cd as well. If not, search e. g. on a rpm for gcc, download and install with

rpm -i gcc-3.X.X-X.X.X-iX86.rpm


here's a quick result of the search, this one is for Fedora Core 2, it should work, if not try an RPM for mandrake or suse.

sorry, no binary posts

ajwsurfer 12-25-2004 02:31 AM

Get the RPMS
You need to get the RPMs from:

I haven't looked into which ones that are needed specifically, but here are some more source pages, courtesy of

All times are GMT -5. The time now is 01:30 PM.