How To Install libSM.i686 on Amazon Linux 2

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

Introduction

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

What is libSM.i686

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

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

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

sudo yum -y install libSM.i686

How To Uninstall libSM.i686 on Amazon Linux 2

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

sudo yum remove libSM.i686

libSM.i686 Package Contents on Amazon Linux 2

/usr/lib/libSM.so.6
/usr/lib/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.i686 on Amazon Linux 2 using yum.