How To Install libXNVCtrl on Fedora 34

libXNVCtrl is Library providing the NV-CONTROL API Library providing the NV-CONTROL API

Introduction

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

What is libXNVCtrl

This packages contains the libXNVCtrl library from the nvidia-settings application. This library provides the NV-CONTROL API for communicating with the proprietary NVidia xorg driver. This package does not contain the nvidia-settings tool itself as that is included with the proprietary drivers themselves. libXNVCtrl 435.17 5.fc34 x86_64 24 k libXNVCtrl-435.17-5.fc34.src.rpm fedora Library providing the NV-CONTROL API https GPLv2+ This packages contains the libXNVCtrl library from the nvidia-settings application. This library provides the NV-CONTROL API for communicating with the proprietary NVidia xorg driver. This package does not contain the nvidia-settings tool itself as that is included with the proprietary drivers themselves.

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

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

sudo dnf -y install libXNVCtrl

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

sudo yum -y install libXNVCtrl

How To Uninstall libXNVCtrl on Fedora 34

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

sudo dnf remove libXNVCtrl

libXNVCtrl Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/2c549a5b124e46b27744a913a4e2d8e71e66c6
/usr/lib/libXNVCtrl.so.0
/usr/lib/libXNVCtrl.so.0.0.0
/usr/share/licenses/libXNVCtrl
/usr/share/licenses/libXNVCtrl/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/f5f8852910ac6e15521a288e90f1b601b4bed2
/usr/lib64/libXNVCtrl.so.0
/usr/lib64/libXNVCtrl.so.0.0.0
/usr/share/licenses/libXNVCtrl
/usr/share/licenses/libXNVCtrl/COPYING

References

Summary

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