PDA

View Full Version : Help! How to run gcc in my ubuntu laptop



dlaneir_loire
September 13th, 2005, 08:56 AM
I've newly installed Ubuntu...

How do I run gcc in my computer? Because, I've tried to compile a program in terminal and typed gcc -o <name> <filename>, and after that it says, COMMAND NOT FOUND, something like that...

What should I do so that I can run gcc?

Thank you very much

tseliot
September 13th, 2005, 10:25 AM
Open synaptic or kynaptic and use the search function, look for GCC and make sure it is installed (not only the base package).

mostwanted
September 13th, 2005, 02:01 PM
or type

sudo apt-get install build-essentials

in the terminal.

jerome bettis
September 13th, 2005, 07:59 PM
it's just build-essential (no s on the end)