You will need to install following packages for complilation:
Code:
sudo apt-get install build-essential
Also make sure that you have gcc utiliity:
If you find gcc, then simply create a program (in a text file, e.g. sampleprog), make it executable, and then run, as:
Code:
example% vi sampleprog
example% chmod +x sampleprog
example% gcc sampleprog.c -o sampleprog