Installing OpenGL libraries in Linux Mint
CS-116a: Introduction to Computer Graphics
Instructor: Rob Bruce
Fall 2016

OBJECTIVE: to install the OpenGL (freeGlut) libraries on your Linux mint distribution.

  • Launch a terminal window (also known as a command line prompt or shell).

Step 1 of 3: In terminal window, log in as root

  • In your terminal window type the following at the command prompt: su
  • You will be prompted to enter the root password. Enter that password.
  • Your terminal window should now display a "#" (hash mark) prompt. This indicates you are logged in as root!

Step 2 of 3: In terminal window, type the following command as root

  • First we need to update our cache of software libraries that are available to install or update.
  • In your terminal window type the following at the command prompt (you should be root): apt-get update

Step 3 of 3: In terminal window, type the following command as root

  • In your terminal window type the following at the command prompt (you should be root): apt-get install freeglut3 freeglut3-dev libxmu-dev libxmu-headers libxi-dev

You now have the freeGLUT OpenGL libraries installed!