ILoveYou Using "C" impress your girlfriend. How to run a C program on Ubuntu ? Open a terminal window. Compile your source code. e.g. if you're using the GCC compiler, you need to type something like: gcc main.c -o main Run the executable, e.g.: ./main