How To Install freeglut on Fedora 34
Introduction
In this tutorial we learn how to install freeglut
on Fedora 34.
What is 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. freeglut 3.2.1 7.fc34 x86_64 196 k freeglut-3.2.1-7.fc34.src.rpm fedora A freely licensed alternative to the GLUT library http MIT 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 freeglut
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install freeglut.
Install freeglut on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install freeglut
using dnf
by running the following command:
sudo dnf -y install freeglut
Install freeglut on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install freeglut
using yum
by running the following command:
sudo yum -y install freeglut
How To Uninstall freeglut on Fedora 34
To uninstall only the freeglut
package we can use the following command:
sudo dnf remove freeglut
freeglut Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/2291b3cbd057fd164f4a1debbb7fc83aaaf9b4
/usr/lib64/libglut.so.3
/usr/lib64/libglut.so.3.11.0
/usr/share/doc/freeglut
/usr/share/doc/freeglut/AUTHORS
/usr/share/doc/freeglut/COPYING
/usr/share/doc/freeglut/ChangeLog
/usr/share/doc/freeglut/README
/usr/share/doc/freeglut/download.html
/usr/share/doc/freeglut/freeglut.html
/usr/share/doc/freeglut/freeglut_logo.png
/usr/share/doc/freeglut/freeglut_user_interface.html
/usr/share/doc/freeglut/index.html
/usr/share/doc/freeglut/ogl_sm.png
/usr/share/doc/freeglut/progress.html
/usr/share/doc/freeglut/structure.html
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/0df2e14def74999b09c8c2e41282e052b9cd01
/usr/lib/libglut.so.3
/usr/lib/libglut.so.3.11.0
/usr/share/doc/freeglut
/usr/share/doc/freeglut/AUTHORS
/usr/share/doc/freeglut/COPYING
/usr/share/doc/freeglut/ChangeLog
/usr/share/doc/freeglut/README
/usr/share/doc/freeglut/download.html
/usr/share/doc/freeglut/freeglut.html
/usr/share/doc/freeglut/freeglut_logo.png
/usr/share/doc/freeglut/freeglut_user_interface.html
/usr/share/doc/freeglut/index.html
/usr/share/doc/freeglut/ogl_sm.png
/usr/share/doc/freeglut/progress.html
/usr/share/doc/freeglut/structure.html
References
- [freeglut website](http://freeglut.sourceforge.net http://freeglut.sourceforge.net)
Summary
In this tutorial we learn how to install freeglut
on Fedora 34 using yum and dnf.