How To Install libSM-devel.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libSM-devel.x86_64 in Amazon Linux 2. libSM-devel.x86_64 is X.Org X11 SM development package
Introduction
In this tutorial we learn how to install libSM-devel.x86_64
on Amazon Linux 2.
What is libSM-devel.x86_64
The X.Org X11 SM (Session Management) development package.
We can use yum
to install libSM-devel.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-devel.x86_64.
Install libSM-devel.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-devel.x86_64
using yum
by running the following command:
sudo yum -y install libSM-devel.x86_64
How To Uninstall libSM-devel.x86_64 on Amazon Linux 2
To uninstall only the libSM-devel.x86_64
package we can use the following command:
sudo yum remove libSM-devel.x86_64
libSM-devel.x86_64 Package Contents on Amazon Linux 2
/usr/include/X11/SM
/usr/include/X11/SM/SM.h
/usr/include/X11/SM/SMlib.h
/usr/include/X11/SM/SMproto.h
/usr/lib64/libSM.so
/usr/lib64/pkgconfig/sm.pc
References
Summary
In this tutorial we learn how to install libSM-devel.x86_64
on Amazon Linux 2 using yum.