How To Install libpsm2 on Rocky Linux 8

In this tutorial we learn how to install libpsm2 on Rocky Linux 8. libpsm2 is Intel PSM Libraries

Introduction

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

What is libpsm2

The PSM Messaging API, or PSM API, is the low-level user-level communications interface for the Intel OPA family of products. PSM users are enabled with mechanisms necessary to implement higher level communications interfaces in parallel environments.

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

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

sudo dnf -y install libpsm2

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

sudo yum -y install libpsm2

How To Uninstall libpsm2 on Rocky Linux 8

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

sudo dnf remove libpsm2

libpsm2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/90f206d9e0d9a70d6a05c34e5e5795bf9ee63a
/usr/lib/udev/rules.d/40-psm.rules
/usr/lib64/libpsm2.so.2
/usr/lib64/libpsm2.so.2.2
/usr/share/licenses/libpsm2
/usr/share/licenses/libpsm2/COPYING

References

Summary

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