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 01-25-2005, 10:02 PM   #1
rollinpark
LQ Newbie
 
Registered: Jan 2005
Posts: 10

Rep: Reputation: 0
Install C compiler


hi,

I am trying to install apache server on linux. The problem is I need a C compiler to install apace but I can't seem to find it in my system. Probably it wasn't installed. I query man gcc and man cc to find out and there is no such command. So how can I install the C compiler? Is the installation files available in the cd? I am using redhat 9.
 
Old 01-25-2005, 11:30 PM   #2
kumochisonan
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core
Posts: 12

Rep: Reputation: 0
What Linux distribution are you currently running?

You can probably install gcc from your Linux CDs using whatever software installer your distribution comes with, in fact, apache is probably in an easy to install package as well, on the CD.

Without knowing which distro you are running, I can't say much more than that.
 
Old 01-26-2005, 12:49 AM   #3
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Running a webserver on an OS that is no longer supported with updates is a bad idea. Use CentOS as it is compatable with RHEL (it is just a rebuild of the source code, so it is infact almost identical), is much faster than RH9 and the updates are still coming out. They come out within 24 hours of Red Hat releasing them for RHEL.
 
Old 01-26-2005, 01:18 AM   #4
rollinpark
LQ Newbie
 
Registered: Jan 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I search the cd and found files below with gcc in its name
compat-gcc-7.3-2.96.118.i386.rpm
compat-gcc-c++-7.3-2.96.118.i386.rpm
libgcc-3.2.2-5.i386.rpm

Is any one of this files is for gcc installation? If it is, is there any site that can guide me in performing the installation step by step. I never install this before.

And how do i check the distro of red hat 9?
 
Old 01-26-2005, 01:35 AM   #5
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
He must have misread your post. Red Hat 9 is the distro you are running. And like I said, you are asking (more like begging) for problems by running a webserver on an OS that is no longer receiving security updates. Red Hat 9 has been discontinued. See my earlier post about Centos and WhiteBox linux, they are rebuilds of Red Hat Enterprise Linux, and as such still receive security updates regularily (normally within 24 hours of Red Hat releasing them for Red Hat Enterprise Linux). Much faster than Red Hat 9 and better for Server use. I would recommend checking it out, espescially if the server is going to be visible online (I'm assuming it is an internet server and not an intranet server, am i right?). If hackers see a vulnerable Red Hat 9 box, it will be hacked.

Debian is a good distro to consider too.
 
Old 01-26-2005, 01:55 AM   #6
rollinpark
LQ Newbie
 
Registered: Jan 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Actually its not up to me which linux distro to use. Red Hat 9 was purchased not so long ago so we continued using it. But if Centos of Whitebox is a free OS then might consider it. By the way if red hat is discontinued how come i can still access the www.redhat.com site ?
 
Old 01-26-2005, 02:03 AM   #7
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Red Hat is still a company. They discontinued their Red Hat Linux line, replacing it with Red Hat Enterprise Linux. Red Hat Linux used to cost between $30 and $150 depending on the version. Red Hat Enterprise can cost up to $2000 or more depending. CentOS (I recommend it over WhiteBox) is a free download, and much more server oriented than Red Hat 9. All it is, is Red Hat Enterprise minus any Red Hat trademarks and without the phone support. But trust me, official support for Red Hat 9 ended over half a year ago, I remember because I had to migrate to another distro.
 
  


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
C compiler install Regis Linux - Newbie 12 05-19-2008 10:38 AM
how to install c compiler albanas Linux - Newbie 5 12-25-2004 01:31 AM
how to install a C++ Compiler? retry Linux - General 1 12-10-2004 06:09 AM
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 - Software

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