How To Install ghc-OpenGLRaw on Fedora 36

In this tutorial we learn how to install ghc-OpenGLRaw in Fedora 36. ghc-OpenGLRaw is A raw binding for the OpenGL graphics system

Introduction

In this tutorial we learn how to install ghc-OpenGLRaw on Fedora 36.

What is ghc-OpenGLRaw

OpenGLRaw is a raw Haskell binding for the OpenGL 4.6 graphics system and lots of OpenGL extensions. It is basically a 1 as a basis for a nicer interface. OpenGLRaw offers access to all necessary functions, tokens and types plus a general facility for loading extension entries. The module hierarchy closely mirrors the naming structure of the OpenGL extensions, making it easy to find the right module to import. All API entries are loaded dynamically, so no special C header files are needed for building this package. If an API entry is not found at runtime, a userError is thrown. OpenGL is the industry’s most widely used and supported 2D and 3D graphics application programming interface (API), incorporating a broad set of rendering, texture mapping, special effects, and other powerful visualization functions. For more information about OpenGL and its various extensions, please see <http

We can use yum or dnf to install ghc-OpenGLRaw on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-OpenGLRaw.

Install ghc-OpenGLRaw on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-OpenGLRaw using dnf by running the following command:

sudo dnf -y install ghc-OpenGLRaw

Install ghc-OpenGLRaw on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-OpenGLRaw using yum by running the following command:

sudo yum -y install ghc-OpenGLRaw

How To Uninstall ghc-OpenGLRaw on Fedora 36

To uninstall only the ghc-OpenGLRaw package we can use the following command:

sudo dnf remove ghc-OpenGLRaw

ghc-OpenGLRaw Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/130a8addb62100ae678191a964793bd823a645
/usr/lib64/libHSOpenGLRaw-3.3.4.0-Eqi3GbgWEeA8OR0caxWrHR-ghc8.10.5.so
/usr/share/licenses/ghc-OpenGLRaw
/usr/share/licenses/ghc-OpenGLRaw/LICENSE

References

Summary

In this tutorial we learn how to install ghc-OpenGLRaw on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).