How To Install glew on CentOS 7
Introduction
In this tutorial we learn how to install glew
on CentOS 7.
What is glew
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW is available for a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. This package contains the demo GLEW utilities. The libraries themselves are in libGLEW and libGLEWmx.
We can use yum
or dnf
to install glew
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install glew.
Install glew on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install glew
using yum
by running the following command:
Install glew on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install glew
using dnf
by running the following command:
How To Uninstall glew on CentOS 7
To uninstall only the glew
package we can use the following command:
References
Summary
In this tutorial we learn how to install glew
on CentOS 7 using yum
and dnf
.