LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2004, 08:36 PM   #1
NRHBasher
Member
 
Registered: Mar 2004
Location: East Side Long Beach
Distribution: Red Hat 9
Posts: 32

Rep: Reputation: 15
Unhappy How do i install gcc on red hat 9


What dir do I put the tar.gz file in i downloaded it to home but do all programs get installed from /usr/local/src or something like that.

I made sure that gcc was not installed
I downloaded gcc.3.3.3.tar.gz and can't
seem to do anything with it.

Please help!!!
 
Old 03-11-2004, 08:48 PM   #2
solspin
Member
 
Registered: Apr 2003
Location: California, USA
Distribution: What works
Posts: 97

Rep: Reputation: 15
I would suggest installing by rpm. I assume you have the RH9 discs? It's on there.
I have compiled many programs from source and trust me, its not worth the hassle
most of the time.
 
Old 03-11-2004, 09:02 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
"to compile a compiler, you need a compiler"

the binary compiler is essential to any distro; install the software development tools for redhat via rpm's on the cd
 
Old 03-11-2004, 09:27 PM   #4
NRHBasher
Member
 
Registered: Mar 2004
Location: East Side Long Beach
Distribution: Red Hat 9
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the tip on the rpm side of it.
Say I wanted to complie this just to learn how would I
complete this task. It seems if I want to use Linux I will
at some point need to compile the software. I know that it
is troublesome but I am really willing to learn.

I am trying the Red Hat CD install right now.
Will let you know how it goes.
 
Old 03-11-2004, 10:10 PM   #5
adm1329
Member
 
Registered: Mar 2004
Distribution: CentOS 5
Posts: 128

Rep: Reputation: 17
I use apt to install any packages I need on my RH9 and FC1 boxes. You can download it here http://apt.freshrpms.net/ It also takes care of checking for and installing any dependencies.
 
Old 03-11-2004, 10:35 PM   #6
NRHBasher
Member
 
Registered: Mar 2004
Location: East Side Long Beach
Distribution: Red Hat 9
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for the info about freshrpms.net i'm sure that will help me in the future.

I installed all the gcc app and the samba server. So far it worked it don't have anything to test the gcc with yet but as for the samba it created a link in gnome for me and I'm working on configuring it.

I still want to learn how to compile though I know it's hard but once you try and try you've got to get it.

Thankyou everyone for the patience and carful instructions.

Bravo....
I'm sure I'll be back with questions on setting up my samba server and securing my netwkork.

Once again thanks.
 
  


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
HowTo Install GCC on Red Hat Enterprise 3 ? skate Red Hat 4 02-27-2006 11:11 PM
How to install GNU g++ and gcc compilers on Red Hat 9.0? naveenkoneru Linux - Newbie 1 07-20-2004 07:11 AM
kernel, compile, gcc, red hat 8.0 illtbagu Linux - Software 9 03-24-2003 02:12 PM
Mplayer, GCC and Red Hat 7.1 cyrille Linux - Newbie 7 04-26-2002 09:52 AM
Installing gcc 2.95.3 on Red Hat 7.0 Quen Linux - Software 0 09-22-2001 11:58 AM


All times are GMT -5. The time now is 01:25 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