How To Install libSM.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libSM.x86_64 in Amazon Linux 2. libSM.x86_64 is X.Org X11 SM runtime library

Introduction

In this tutorial we learn how to install libSM.x86_64 on Amazon Linux 2.

What is libSM.x86_64

The X.Org X11 SM (Session Management) runtime library.

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

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

sudo yum -y install libSM.x86_64

How To Uninstall libSM.x86_64 on Amazon Linux 2

To uninstall only the libSM.x86_64 package we can use the following command:

sudo yum remove libSM.x86_64

libSM.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libSM.so.6
/usr/lib64/libSM.so.6.0.1
/usr/share/doc/libSM-1.2.2
/usr/share/doc/libSM-1.2.2/AUTHORS
/usr/share/doc/libSM-1.2.2/COPYING
/usr/share/doc/libSM-1.2.2/ChangeLog

References

Summary

In this tutorial we learn how to install libSM.x86_64 on Amazon Linux 2 using yum.