How To Install kmscube on Fedora 36

In this tutorial we learn how to install kmscube in Fedora 36. kmscube is Example KMS/GBM/EGL application

Introduction

In this tutorial we learn how to install kmscube on Fedora 36.

What is kmscube

kmscube is a little demonstration program for how to drive bare metal graphics without a compositor like X11, wayland or similar, using DRM/KMS (kernel mode setting), GBM (graphics buffer manager) and EGL for rendering content using OpenGL or OpenGL ES.

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

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

sudo dnf -y install kmscube

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

sudo yum -y install kmscube

How To Uninstall kmscube on Fedora 36

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

sudo dnf remove kmscube

kmscube Package Contents on Fedora 36

/usr/bin/kmscube
/usr/bin/texturator
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/8e81bfdd597bc1049b8572586955561579785c
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/35c29b2173f4c9f4bf72e2140b0fad4656eea3
/usr/share/licenses/kmscube
/usr/share/licenses/kmscube/COPYING

References

Summary

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