Friday, October 11, 2013

Installing GLUT/OpenGL with Shader (FreeImage) Libraries in Linux

For Debian based linux OS install glut/openGL by running the following command:


sudo apt-get install freeglut3 freeglut3-dev

Install an additional package for newer (v >= 11.10) version:


sudo apt-get install binutils-gold


For Redhat or OS like Redhat:


yum install freeglut-devel


Install some additional libraries for Shaders. Libraries are: freeglut3 freeglut3-dev libglew1.6 libglew1.6-dev libglu1-mesa libglu1-mesa-dev glew-utils libfreeimage-dev Install them in Ubuntu using the following commnd:

sudo apt-get install freeglut3-dev libglu1-mesa libglu1-mesa-dev glew-utils libglew1.6-dev libfreeimage-dev