How To Install libXpm-devel on CentOS 8
Introduction
In this tutorial we learn how to install libXpm-devel
on CentOS 8.
What is libXpm-devel
X.Org X11 libXpm development package libXpm-devel 3.5.12 8.el8 x86_64 39 k libXpm-3.5.12-8.el8.src.rpm appstream X.Org X11 libXpm development package http MIT X.Org X11 libXpm development package
We can use yum
or dnf
to install libXpm-devel
on CentOS 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 CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
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 CentOS 8
To uninstall only the libXpm-devel
package we can use the following command:
sudo dnf remove libXpm-devel
libXpm-devel Package Contents on CentOS 8
/usr/bin/cxpm
/usr/bin/sxpm
/usr/include/X11/xpm.h
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/3ce8ea723b55f58a7debc5ed8ac536cd4132e4
/usr/lib/.build-id/45
/usr/lib/.build-id/45/3c1a13adda43382d6d878876ee77036dbdc4d7
/usr/lib64/libXpm.so
/usr/lib64/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/60
/usr/lib/.build-id/60/44af5904e23a5653dfe28f85aa27f7083433ba
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/d67a3b98c7d0a785b34d15ba2a78ba42d655ae
/usr/lib/libXpm.so
/usr/lib/pkgconfig/xpm.pc
/usr/share/man/man1/cxpm.1.gz
/usr/share/man/man1/sxpm.1.gz
References
- [libXpm-devel website](http://www.x.org http://www.x.org)
Summary
In this tutorial we learn how to install libXpm-devel
on CentOS 8 using yum and dnf.