How To Install glmark2 on Fedora 34

glmark2 is Benchmark for OpenGL 2.0

Introduction

In this tutorial we learn how to install glmark2 on Fedora 34.

What is glmark2

Glmark2 is a benchmark for OpenGL 2.0.

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

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

sudo dnf -y install glmark2

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

sudo yum -y install glmark2

How To Uninstall glmark2 on Fedora 34

To uninstall only the glmark2 package we can use the following command:

sudo dnf remove glmark2

glmark2 Package Contents on Fedora 34

/usr/bin/glmark2
/usr/bin/glmark2-drm
/usr/bin/glmark2-es2
/usr/bin/glmark2-es2-drm
/usr/bin/glmark2-es2-wayland
/usr/bin/glmark2-wayland
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/e456388391523d36db7ba2b881acb30ce59209
/usr/lib/.build-id/01
/usr/lib/.build-id/01/24405a859ea10d45244950c959173089dfec7f
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/d0c433ff981e3d95f04b8994685b1a9c56b778
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/696483225900c75234e2743e98082601bc1c54
/usr/lib/.build-id/be
/usr/lib/.build-id/be/fa233b0d1afb0076d902faf5c7a59b7bb3817d
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/ece064b78a0e81daf0f1863abcf7cee66b0cd5
/usr/share/appdata/glmark2.appdata.xml
/usr/share/applications/glmark2-drm.desktop
/usr/share/applications/glmark2-es2-drm.desktop
/usr/share/applications/glmark2-es2.desktop
/usr/share/applications/glmark2.desktop
/usr/share/doc/glmark2
/usr/share/doc/glmark2/NEWS
/usr/share/doc/glmark2/README
/usr/share/licenses/glmark2
/usr/share/licenses/glmark2/COPYING
/usr/share/licenses/glmark2/COPYING.SGI
/usr/share/man/man1/glmark2-drm.1.gz
/usr/share/man/man1/glmark2-es2-drm.1.gz
/usr/share/man/man1/glmark2-es2-wayland.1.gz
/usr/share/man/man1/glmark2-es2.1.gz
/usr/share/man/man1/glmark2-wayland.1.gz
/usr/share/man/man1/glmark2.1.gz
/usr/share/pixmaps/glmark2-drm.png
/usr/share/pixmaps/glmark2-es2-drm.png
/usr/share/pixmaps/glmark2-es2.png
/usr/share/pixmaps/glmark2.png

References

Summary

In this tutorial we learn how to install glmark2 on Fedora 34 using yum and dnf.