help the novice

i already have put up my question that how to write opengl programs on linux operating systems and compiling them also i want to know that it is possible to erite the code only by knowing the C language though i know a bit of c++

You can code with openGL in C just fine… that is what I use most of the time, especially if it is not a huge project.
I am assuming you are learning openGL…

thanks but what about compiling and i also want to know the libraries needed .i study in a institute which has linux server and hope that those libraries are ther for me out