How To Install libpsm2-compat on Rocky Linux 8

In this tutorial we learn how to install libpsm2-compat on Rocky Linux 8. libpsm2-compat is Compat library for Intel PSM

Introduction

In this tutorial we learn how to install libpsm2-compat on Rocky Linux 8.

What is libpsm2-compat

Support for MPIs linked with PSM versions < 2

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

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

sudo dnf -y install libpsm2-compat

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

sudo yum -y install libpsm2-compat

How To Uninstall libpsm2-compat on Rocky Linux 8

To uninstall only the libpsm2-compat package we can use the following command:

sudo dnf remove libpsm2-compat

libpsm2-compat Package Contents on Rocky Linux 8

/etc/modprobe.d/libpsm2-compat.conf
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/b55f5cdab8bcfb387d23f6bc5a9991bd476a27
/usr/lib/libpsm2
/usr/lib/libpsm2/libpsm2-compat.cmds
/usr/lib/udev/rules.d/40-psm-compat.rules
/usr/lib64/psm2-compat
/usr/lib64/psm2-compat/libpsm_infinipath.so.1

References

Summary

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