The first time I installed Ubuntu, I couldn’t run make, run command for C programs. The reason for it is that Ubuntus default installation doesn’t have the compilers installed.. (dont know why). actually they are in the Ubuntu-CD, but you have to install them separately.
You can install the compiler by using the following command.
sudo apt-get [...]