LinuxQuestions.org
Help answer threads with 0 replies.
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 07-28-2004, 05:57 AM   #1
albanas
LQ Newbie
 
Registered: Jul 2004
Location: Lithuania
Posts: 3

Rep: Reputation: 0
how to install c compiler


I have SME 6.01 (redhat based). I need to install c compiler. How to do this? Thanks.
 
Old 07-28-2004, 06:18 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

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

Type "which gcc" to find out.

John
 
Old 07-28-2004, 06:34 AM   #3
albanas
LQ Newbie
 
Registered: Jul 2004
Location: Lithuania
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-28-2004, 07:56 AM   #4
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

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

John
 
Old 07-28-2004, 08:08 AM   #5
leadazide
Member
 
Registered: Apr 2004
Location: Germany
Distribution: SuSE 11.0, Ubuntu 7.10
Posts: 390

Rep: Reputation: 30
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 rpmfind.net a rpm for gcc, download and install with

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



[removed]


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.

*edit*
sorry, no binary posts

Last edited by leadazide; 07-28-2004 at 08:10 AM.
 
  


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
C compiler install Regis Linux - Newbie 12 05-19-2008 10:38 AM
how to install a C++ Compiler? retry Linux - General 1 12-10-2004 06:09 AM
How do i install a compiler......? BajaNick Linux - Software 4 12-19-2003 09:39 PM
How Do I Install A Compiler Off The CD ? Mr_T_Fool Linux - Software 1 07-14-2003 06:30 PM
C compiler install Lmronby Linux - Newbie 4 11-11-2001 09:08 PM

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

All times are GMT -5. The time now is 08:44 AM.

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