Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-03-2012, 11:37 PM   #1
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.
Old 01-04-2012, 12:11 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
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
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 .

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

Original Poster
Rep: Reputation: Disabled
gcc compiler

Thank you so much for your help


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

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration