How To Install apitrace on Fedora 34

apitrace is Tools for tracing OpenGL

Introduction

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

What is apitrace

apitrace consists of a set of tools to * trace OpenGL and OpenGL ES APIs calls to a file; * replay OpenGL and OpenGL ES calls from a file * inspect OpenGL state at any call while retracing * visualize and edit trace files

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

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

sudo dnf -y install apitrace

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

sudo yum -y install apitrace

How To Uninstall apitrace on Fedora 34

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

sudo dnf remove apitrace

apitrace Package Contents on Fedora 34

/usr/bin/apitrace
/usr/bin/eglretrace
/usr/bin/glretrace
/usr/bin/gltrim
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/a3e5112e6d6910749f94c6de01bc44be4b3f86
/usr/lib/.build-id/36
/usr/lib/.build-id/36/658a37665370582761451c7eed661aba654d2f
/usr/lib/.build-id/99
/usr/lib/.build-id/99/9810c14f55bfba9112f8fdfc2b4ba18b59cfbc
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/a87103c2687b399996e2403c19f1eec05d42be
/usr/share/doc/apitrace
/usr/share/doc/apitrace/BUGS.markdown
/usr/share/doc/apitrace/FORMAT.markdown
/usr/share/doc/apitrace/HACKING.markdown
/usr/share/doc/apitrace/INSTALL.markdown
/usr/share/doc/apitrace/NEWS.markdown
/usr/share/doc/apitrace/README.markdown
/usr/share/doc/apitrace/TODO.markdown
/usr/share/doc/apitrace/USAGE.markdown
/usr/share/doc/apitrace/VMWX_map_buffer_debug.txt
/usr/share/licenses/apitrace
/usr/share/licenses/apitrace/LICENSE

References

Summary

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