How To Install libxshmfence-devel on Rocky Linux 8

In this tutorial we learn how to install libxshmfence-devel on Rocky Linux 8. libxshmfence-devel is Development files for libxshmfence

Introduction

In this tutorial we learn how to install libxshmfence-devel on Rocky Linux 8.

What is libxshmfence-devel

The libxshmfence-devel package contains libraries and header files for developing applications that use libxshmfence.

We can use yum or dnf to install libxshmfence-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libxshmfence-devel.

Install libxshmfence-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libxshmfence-devel using dnf by running the following command:

sudo dnf -y install libxshmfence-devel

Install libxshmfence-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libxshmfence-devel using yum by running the following command:

sudo yum -y install libxshmfence-devel

How To Uninstall libxshmfence-devel on Rocky Linux 8

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

sudo dnf remove libxshmfence-devel

libxshmfence-devel Package Contents on Rocky Linux 8

/usr/include/X11
/usr/include/X11/xshmfence.h
/usr/lib/libxshmfence.so
/usr/lib/pkgconfig/xshmfence.pc
/usr/include/X11
/usr/include/X11/xshmfence.h
/usr/lib64/libxshmfence.so
/usr/lib64/pkgconfig/xshmfence.pc

References

Summary

In this tutorial we learn how to install libxshmfence-devel on Rocky Linux 8 using yum and dnf.