C Programming in Linux using gcc compiler Step 1 : Install the packages of gcc [root#] yum install gcc* Step 2 : Open gedit and type a simple C program and save it as hello.c - Save it on Desktop #include void main( ) { printf("Hello World"); printf("\n"); } ** Save and come back to terminal Step 3 : [root#] cd Desktop Step 4 : Compile the program [root#Desktop] gcc hello.c -o hello.out Step 5 : Execute the program [root#Desktop] ./hello.out