Sunday, December 26, 2010

Installing GLUT on Ubuntu

Installing GLUT is essential for those who wants to create OpenGL programs in Linux.

To install GLUT on Ubuntu, just simply go to System>Administration>Synaptic Package Manager then search for "glut". Mark freeglut3 and freeglut3-dev for installation then click on Apply button.

This will install the OpenGL header files to /usr/include/GL/ and the library object to /usr/lib/libglut.a.

1 comment:

  1. when I try to mark for installation freeglut3-dev I receive this error:
    freeglut3-dev:
    Depends: libgl1-mesa-dev but it is not going to be installed or
    libgl-dev
    Depends: libglu1-mesa-dev but it is not going to be installed or
    libglu-dev

    ReplyDelete