How To Install libICE-devel on Rocky Linux 8

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

Introduction

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

What is libICE-devel

The X.Org X11 ICE (Inter-Client Exchange) development package.

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

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

sudo dnf -y install libICE-devel

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

sudo yum -y install libICE-devel

How To Uninstall libICE-devel on Rocky Linux 8

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

sudo dnf remove libICE-devel

libICE-devel Package Contents on Rocky Linux 8

/usr/include/X11/ICE
/usr/include/X11/ICE/ICE.h
/usr/include/X11/ICE/ICEconn.h
/usr/include/X11/ICE/ICElib.h
/usr/include/X11/ICE/ICEmsg.h
/usr/include/X11/ICE/ICEproto.h
/usr/include/X11/ICE/ICEutil.h
/usr/lib/libICE.so
/usr/lib/pkgconfig/ice.pc
/usr/share/doc/libICE/ICElib.xml
/usr/share/doc/libICE/ice.xml
/usr/include/X11/ICE
/usr/include/X11/ICE/ICE.h
/usr/include/X11/ICE/ICEconn.h
/usr/include/X11/ICE/ICElib.h
/usr/include/X11/ICE/ICEmsg.h
/usr/include/X11/ICE/ICEproto.h
/usr/include/X11/ICE/ICEutil.h
/usr/lib64/libICE.so
/usr/lib64/pkgconfig/ice.pc
/usr/share/doc/libICE/ICElib.xml
/usr/share/doc/libICE/ice.xml

References

Summary

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