LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install GCC compiler in linux (https://www.linuxquestions.org/questions/linux-software-2/install-gcc-compiler-in-linux-777193/)

Pinkesh 12-21-2009 05:26 AM

install GCC compiler in linux
 
Hi,

How can I install GCC 4.4.2 in ubunto linux ?

brianL 12-21-2009 06:12 AM

Run this in the terminal:
sudo apt-get install build-essential

JohnGraham 12-21-2009 06:13 AM

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

sundialsvcs 12-21-2009 08:15 PM

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."

AlucardZero 12-21-2009 08:24 PM

Quote:

Originally Posted by sundialsvcs (Post 3800620)
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.


All times are GMT -5. The time now is 05:53 AM.