How To Install libXpm-devel on Rocky Linux 8

In this tutorial we learn how to install libXpm-devel on Rocky Linux 8. libXpm-devel is X.Org X11 libXpm development package

Introduction

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

What is libXpm-devel

X.Org X11 libXpm development package

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

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

sudo dnf -y install libXpm-devel

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

sudo yum -y install libXpm-devel

How To Uninstall libXpm-devel on Rocky Linux 8

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

sudo dnf remove libXpm-devel

libXpm-devel Package Contents on Rocky Linux 8

/usr/bin/cxpm
/usr/bin/sxpm
/usr/include/X11/xpm.h
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/8324b4f861601b0a55f963519b28629c694cdc
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/57fcfa38bb004e19194fc2f57e5d62bfa40f3d
/usr/lib/libXpm.so
/usr/lib/pkgconfig/xpm.pc
/usr/share/man/man1/cxpm.1.gz
/usr/share/man/man1/sxpm.1.gz
/usr/bin/cxpm
/usr/bin/sxpm
/usr/include/X11/xpm.h
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/d09a215fc5091fd91ff843007bb1f598654921
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/7e0b6df0b28a8d1782d37cce8d8cac0c481737
/usr/lib64/libXpm.so
/usr/lib64/pkgconfig/xpm.pc
/usr/share/man/man1/cxpm.1.gz
/usr/share/man/man1/sxpm.1.gz

References

Summary

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