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 12-21-2009, 06:26 AM   #1
Pinkesh
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Rep: Reputation: 0
install GCC compiler in linux


Hi,

How can I install GCC 4.4.2 in ubunto linux ?
 
Old 12-21-2009, 07:12 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,081
Blog Entries: 52

Rep: Reputation: Disabled
Run this in the terminal:
sudo apt-get install build-essential
 
Old 12-21-2009, 07:13 AM   #3
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 138Reputation: 138
Code:
sudo apt-get install gcc
This will install 4.4.1 - if you want 4.4.2 specifically, you'll have to download and compile that version. 4.4.1 should be fine for most purposes though.

John G
 
Old 12-21-2009, 09:15 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,425

Rep: Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159Reputation: 1159
The gcc compiler (and its libraries) has a somewhat special place in the Linux system, since it is "the tool that's used to build everything else." You would be well-advised to leave this chore to your distro... "don't mess around with it in any way."
 
Old 12-21-2009, 09:24 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
Quote:
Originally Posted by sundialsvcs View Post
The gcc compiler (and its libraries) has a somewhat special place in the Linux system, since it is "the tool that's used to build everything else." You would be well-advised to leave this chore to your distro... "don't mess around with it in any way."
What's your point? Are you suggesting he not install gcc? That can't be right.
 
  


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 do I install a Gcc compiler on Puppy Linux? iskanderuss Linux - Software 10 04-23-2009 04:35 PM
How can I install gcc compiler in DSL Linux? crazymoonboy DamnSmallLinux 4 01-07-2007 07:35 PM
install gcc and c compiler into RedHat Linux spykid Linux - Newbie 4 10-25-2006 06:35 AM
How can I install gcc compiler in DSL Linux? crazymoonboy Linux - Newbie 3 10-11-2006 05:03 PM
gcc compiler error / linux headers install help SciYro Linux - Software 2 12-07-2003 02:44 PM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration