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 01-03-2012, 10:37 PM   #1
Sadia4
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
How to install GCC compiler in Red Hat Enterprise Linux 5


Hay everybody!
I am just beginner in Linux, using red hat enterprise 5. I want to install gcc compiler. I download gcc-4.6.2.tar.bz2 file from internetand just paste it on my desktop. I don't know how can I install it on my system. Can someone help me as I really need it for my project.
THANKS.....
 
Old 01-03-2012, 11:11 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,015

Rep: Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454Reputation: 2454
in red hat you DO NOT install the gcc compiler alone and without the "autotools" and 5 dose not use the 4.6 compiler
the rhel5 series i believe was locked with the gcc 4.1 installed ( 4.3 might be in the updates ? )
use "yum" to install software from the RHN software repo

that is the repo you got access to with the REQUIRED support contract
--- rhel is NOT free ---
Also is there a NEED to ,as in a MUST USE, the old 5 ( 5.what ? 5.8 is the current in the 5 series) ? The current RHEL release is 6.2

run this
Code:
su -
yum grouplist
--- then from that list install the development tools --
yum groupinstall "Development Tools" "Development Libraries"
BUT you MUST have a paid for support contract to install software
- depending on the install disk a OLD and NOT updated gcc might be on the install dvd

also see the red hat support - you ARE paying for it so you might want to use it .
http://www.redhat.com/support/

Last edited by John VV; 01-03-2012 at 11:13 PM.
 
Old 01-04-2012, 12:52 AM   #3
Sadia4
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
gcc compiler

Thank you so much for your help
 
  


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
how to install GCC in Red Hat Enterprise? newbie2011 Red Hat 9 07-05-2011 12:45 AM
install Red Hat Enterprise Linux 4.0 anis_huq Linux - Newbie 2 07-13-2009 10:04 AM
How to install Red Hat Enterprise Linux AS v3.0 anis_huq Linux - Newbie 3 07-08-2009 10:37 PM
Red Hat Enterprise Linux 4 AS install mossless Linux - Enterprise 8 03-04-2006 12:12 PM
HowTo Install GCC on Red Hat Enterprise 3 ? skate Red Hat 4 02-27-2006 10:11 PM


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