To Run the code you need to Download libraries of OpenGL On LINUX you can install by the following command and you can compile the sphere.c file by gcc -o sphere sphere.c -lGL -lGLU -lglut -lm