How To Install mingw64-freeglut on Fedora 36

In this tutorial we learn how to install mingw64-freeglut in Fedora 36. mingw64-freeglut is Fedora MinGW alternative to the OpenGL Utility Toolkit (GLUT)

Introduction

In this tutorial we learn how to install mingw64-freeglut on Fedora 36.

What is mingw64-freeglut

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.

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

Install mingw64-freeglut 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 mingw64-freeglut using dnf by running the following command:

sudo dnf -y install mingw64-freeglut

Install mingw64-freeglut 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 mingw64-freeglut using yum by running the following command:

sudo yum -y install mingw64-freeglut

How To Uninstall mingw64-freeglut on Fedora 36

To uninstall only the mingw64-freeglut package we can use the following command:

sudo dnf remove mingw64-freeglut

mingw64-freeglut Package Contents on Fedora 36

/usr/share/doc/mingw64-freeglut
/usr/share/doc/mingw64-freeglut/AUTHORS
/usr/share/doc/mingw64-freeglut/COPYING
/usr/share/doc/mingw64-freeglut/FrequentlyAskedQuestions
/usr/share/doc/mingw64-freeglut/NEWS
/usr/share/doc/mingw64-freeglut/README
/usr/share/doc/mingw64-freeglut/README.win32
/usr/share/doc/mingw64-freeglut/TODO
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libglut-0.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/GL/freeglut.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/GL/freeglut_ext.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/GL/freeglut_std.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/GL/glut.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libglut.dll.a

References

Summary

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