1.select Applications/Accessories/Terminal on the Ubuntu desktop
2.type ls /usr/include/GL
3.if glut.h gl.h etc are there, great
4.if not, install it
sudo apt-get install freeglut3-devg++ pgm.cpp -lGl -lGLU -lglutProgram to implemnet BFS algorith using OpnenGL