How To Install nvidia-query-resource-opengl on Fedora 36

In this tutorial we learn how to install nvidia-query-resource-opengl in Fedora 36. nvidia-query-resource-opengl is Querying OpenGL resource usage of applications using the NVIDIA OpenGL driver

Introduction

In this tutorial we learn how to install nvidia-query-resource-opengl on Fedora 36.

What is nvidia-query-resource-opengl

A tool for querying OpenGL resource usage of applications using the NVIDIA OpenGL driver. Requires NVIDIA 387 or later.

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

Install nvidia-query-resource-opengl 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 nvidia-query-resource-opengl using dnf by running the following command:

sudo dnf -y install nvidia-query-resource-opengl

Install nvidia-query-resource-opengl 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 nvidia-query-resource-opengl using yum by running the following command:

sudo yum -y install nvidia-query-resource-opengl

How To Uninstall nvidia-query-resource-opengl on Fedora 36

To uninstall only the nvidia-query-resource-opengl package we can use the following command:

sudo dnf remove nvidia-query-resource-opengl

nvidia-query-resource-opengl Package Contents on Fedora 36

/usr/bin/nvidia-query-resource-opengl
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/7f8a82cbab36d82ab307322ba2a1cfa3962875
/usr/share/doc/nvidia-query-resource-opengl
/usr/share/doc/nvidia-query-resource-opengl/README.md
/usr/share/licenses/nvidia-query-resource-opengl
/usr/share/licenses/nvidia-query-resource-opengl/LICENSE

References

Summary

In this tutorial we learn how to install nvidia-query-resource-opengl on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).