How To Install libXi on Rocky Linux 8

In this tutorial we learn how to install libXi on Rocky Linux 8. libXi is X.Org X11 libXi runtime library

Introduction

In this tutorial we learn how to install libXi on Rocky Linux 8.

What is libXi

X.Org X11 libXi runtime library

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

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

sudo dnf -y install libXi

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

sudo yum -y install libXi

How To Uninstall libXi on Rocky Linux 8

To uninstall only the libXi package we can use the following command:

sudo dnf remove libXi

libXi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/6d6b89c66931027dd5f4e98fb406c5944b9ad8
/usr/lib/libXi.so.6
/usr/lib/libXi.so.6.1.0
/usr/share/doc/libXi
/usr/share/doc/libXi/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/27a29378d23076ade495ab24b9e0dc882c2ee7
/usr/lib64/libXi.so.6
/usr/lib64/libXi.so.6.1.0
/usr/share/doc/libXi
/usr/share/doc/libXi/COPYING

References

Summary

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