OpenGL on Enterprise


I searched the forum about OpenGl on Linux. But I got confused because of different suggesions. Some people suggest to download mesa because there is no GLUT and OpenGL for Linux. But other people suggest to download GULT for Linux. Here is my question.

I am using RedHat Enterprise on AMD Athlon XP.
I searched my system for OpenGL shared library. I found


Also, I found some header file:

/usr/include/GL/ glext.h, glu.h, GLwDrawAP.h, GLwMDrawAP.h, glx.h, glxmd.h, glxtokens.h, gl.h, GLwDrawA.h, GLwMDrawA.h, glxext.h, glxint.h, glxproto.h, osmesa.h

I checked the hardware and I found a vedio card named
NVCrush11 [GeForce2 MX Integrated Graphics]. The driver is NVIDIA GeForce2 MX (generic)

Now, what do I need to use OpenGL on my system and where do I get? Sorry for my poor Linux knowldge.

Is there GLUT for Linux?
Could you please give idea about compilation.

Thank you very much for your help.


glut should be provided with your distribution. If not, check for freeglut on a good web search engine.

Also I advice you to download and install the Nvidia drivers (that will give you full acceleration).

Here is the link:

When installing it, just exit X (with something like init 3 in a tty like ctrl-alt-f1) and run the downloaded package with the command:

sh Nvidia***.run

Follow the instructions, do not try the program to search for an existing version matching your kernel.

You must be root to do that and you must have all the kernel headers for it to fulfill the installation.

[bancroft@skolem gl-117-1.3.2-src]$ rpm -qi freeglut
Name : freeglut Relocations: (not relocatable)
Version : 2.2.0 Vendor: Red Hat, Inc.
Release : 16 Build Date: Sat 05 Mar 2005 01:15:39 PM EST
Install Date: Mon 15 Aug 2005 03:07:44 PM EDT Build Host:
Group : System Environment/Libraries Source RPM: freeglut-2.2.0-16.src.rpm
Size : 367347 License: MIT
Signature : DSA/SHA1, Fri 20 May 2005 01:25:59 PM EDT, Key ID b44269d04f2a6fd2
Packager : Red Hat, Inc. <;
Summary : A freely licensed alternative to the GLUT library
Description :
freeglut is a completely open source alternative to the OpenGL Utility Toolkit
(GLUT) library with an OSI approved free software license. GLUT was originally
written by Mark Kilgard to support the sample programs in the second edition
OpenGL ‘RedBook’. Since then, GLUT has been used in a wide variety of practical
applications because it is simple, universally available and highly portable.

freeglut allows the user to create and manage windows containing OpenGL
contexts on a wide range of platforms and also read the mouse, keyboard and
joystick functions.

I downloaded the NVIDIA driver and tried to install it. I exited X by ctrl-alt-f1 (it went to text mode) and then run
sh Nvidia***.run. But it said that X server was still running.

How to exit from X?

Sorry for stupid question.

Usually “init 3”. You can test if it’s still running by pressing Alt-F7, this should switch you back to X if it’s still running, or give a black screen if it isn’t.

And you can start it again afterwards with “init 5”.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.