How To Install libXdmcp-devel on Rocky Linux 8

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

Introduction

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

What is libXdmcp-devel

libXdmcp development package.

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

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

sudo dnf -y install libXdmcp-devel

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

sudo yum -y install libXdmcp-devel

How To Uninstall libXdmcp-devel on Rocky Linux 8

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

sudo dnf remove libXdmcp-devel

libXdmcp-devel Package Contents on Rocky Linux 8

/usr/include/X11/Xdmcp.h
/usr/lib/libXdmcp.so
/usr/lib/pkgconfig/xdmcp.pc
/usr/share/doc/libXdmcp-devel
/usr/share/doc/libXdmcp-devel/README.md
/usr/include/X11/Xdmcp.h
/usr/lib64/libXdmcp.so
/usr/lib64/pkgconfig/xdmcp.pc
/usr/share/doc/libXdmcp-devel
/usr/share/doc/libXdmcp-devel/README.md

References

Summary

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