PDA

View Full Version : How to install Gcc in Ubuntu LTS 6.06


Gefox4
May 16th, 2007, 09:30 AM
I'm using Ubuntu LTS 6.06. Now, I installed Kdevelop package, but I can't compiler any program by C language. When I type:
gcc -o name name
It say:
bash: gcc command not found
And when I type:
man gcc
it say like that, too.
So how can I do with this, please show me the way to exit this mistake soon because I very need that for my study.

kaamos
May 16th, 2007, 10:03 AM
Install the package "build-essential"

taurus
May 16th, 2007, 10:04 AM
sudo aptitude update
sudo aptitude install build-essential
gcc -v