How To Install compat-opensm-libs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install compat-opensm-libs.x86_64 in Amazon Linux 2. compat-opensm-libs.x86_64 is Back compatability libraries for the IB management stack

Introduction

In this tutorial we learn how to install compat-opensm-libs.x86_64 on Amazon Linux 2.

What is compat-opensm-libs.x86_64

The libibumad and opensm packages provide libraries for use on the system. As those libraries have changed version, this compat package provides the older version of the libraries so that packages or user applications will not need to be recompiled against the newer libraries unnecessarily.

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

Install compat-opensm-libs.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 compat-opensm-libs.x86_64 using yum by running the following command:

sudo yum -y install compat-opensm-libs.x86_64

How To Uninstall compat-opensm-libs.x86_64 on Amazon Linux 2

To uninstall only the compat-opensm-libs.x86_64 package we can use the following command:

sudo yum remove compat-opensm-libs.x86_64

compat-opensm-libs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libosmvendor.so.3
/usr/lib64/libosmvendor.so.3.0.8

References

Summary

In this tutorial we learn how to install compat-opensm-libs.x86_64 on Amazon Linux 2 using yum.