How To Install libxshmfence on Fedora 34

libxshmfence is X11 shared memory fences X11 shared memory fences

Introduction

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

What is libxshmfence

Shared memory fences for X11, as used in DRI3. libxshmfence 1.3 8.fc34 x86_64 12 k libxshmfence-1.3-8.fc34.src.rpm fedora X11 shared memory fences https MIT Shared memory fences for X11, as used in DRI3.

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

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

sudo dnf -y install libxshmfence

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

sudo yum -y install libxshmfence

How To Uninstall libxshmfence on Fedora 34

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

sudo dnf remove libxshmfence

libxshmfence Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/86bb78c7a445717a2a60ba75f8b80271f001f2
/usr/lib/libxshmfence.so.1
/usr/lib/libxshmfence.so.1.0.0
/usr/lib/.build-id
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/884125963223abd6d91b6732a711ca30f8a424
/usr/lib64/libxshmfence.so.1
/usr/lib64/libxshmfence.so.1.0.0

References

Summary

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