PDA

View Full Version : Compiling C


epq
August 25th, 2006, 09:08 PM
I have just recently installed Ubuntu, but have been programming in C on Linux for some years in college.
I thought C came naturally on Linux but I just wrote a basic programme and on trying to compile it, gcc -o test test.c, was informed that the gcc command is not contained in bash.
Is there something I need to do to activate it?
I searched Add/Remove Applications and found nothing obvious.
Thanks

MrHorus
August 26th, 2006, 10:34 AM
Yes.

apt-get install build-essential