How To Install mingw32-freeglut on Fedora 36
Introduction
In this tutorial we learn how to install mingw32-freeglut
on Fedora 36.
What is mingw32-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 mingw32-freeglut
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-freeglut.
Install mingw32-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 mingw32-freeglut
using dnf
by running the following command:
sudo dnf -y install mingw32-freeglut
Install mingw32-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 mingw32-freeglut
using yum
by running the following command:
sudo yum -y install mingw32-freeglut
How To Uninstall mingw32-freeglut on Fedora 36
To uninstall only the mingw32-freeglut
package we can use the following command:
sudo dnf remove mingw32-freeglut
mingw32-freeglut Package Contents on Fedora 36
/usr/i686-w64-mingw32/sys-root/mingw/bin/libglut-0.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/GL/freeglut.h
/usr/i686-w64-mingw32/sys-root/mingw/include/GL/freeglut_ext.h
/usr/i686-w64-mingw32/sys-root/mingw/include/GL/freeglut_std.h
/usr/i686-w64-mingw32/sys-root/mingw/include/GL/glut.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libglut.dll.a
/usr/share/doc/mingw32-freeglut
/usr/share/doc/mingw32-freeglut/AUTHORS
/usr/share/doc/mingw32-freeglut/COPYING
/usr/share/doc/mingw32-freeglut/FrequentlyAskedQuestions
/usr/share/doc/mingw32-freeglut/NEWS
/usr/share/doc/mingw32-freeglut/README
/usr/share/doc/mingw32-freeglut/README.win32
/usr/share/doc/mingw32-freeglut/TODO
References
Summary
In this tutorial we learn how to install mingw32-freeglut
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).