GLUT in Linux, do I need to add anything?

Is there anything I need to add anything to my program for Linux Compatibilty. Does it matter between debian, redhat, or arch? Will it just work if I used only c++ librays, GLUT, and GLU?

Probably will be fine. Most all of it is standard. Just install freeglut packages, and link with -lglut -lGLU -lGL.