How To Install libICE-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libICE-devel.x86_64 in Amazon Linux 2. libICE-devel.x86_64 is X.Org X11 ICE development package

Introduction

In this tutorial we learn how to install libICE-devel.x86_64 on Amazon Linux 2.

What is libICE-devel.x86_64

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

We can use yum to install libICE-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libICE-devel.x86_64.

Install libICE-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libICE-devel.x86_64

How To Uninstall libICE-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libICE-devel.x86_64

libICE-devel.x86_64 Package Contents on Amazon Linux 2

/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.x86_64 on Amazon Linux 2 using yum.