Code:
apt-get install freeglut3 freeglut3-dev freeglut3-dbg glut-doc
Are you sure you want to program for OpenGL? Sorry for asking, but usually programmers know the system they're working on inside out, or at least they're familiar with it's package management. Of course there are exceptions, but that's very rare... Anyway, copy the first line above to your cli and hit enter