How To Install setools-libs.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install setools-libs.x86_64 on Amazon Linux 2.
What is setools-libs.x86_64
SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This package includes the following run-time libraries libapol policy analysis library libpoldiff semantic policy difference library libqpol library that abstracts policy internals libseaudit parse and filter SELinux audit messages in log files libsefs SELinux file contexts library
We can use yum to install setools-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 setools-libs.x86_64.
Install setools-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 setools-libs.x86_64 using yum by running the following command:
sudo yum -y install setools-libs.x86_64
How To Uninstall setools-libs.x86_64 on Amazon Linux 2
To uninstall only the setools-libs.x86_64 package we can use the following command:
sudo yum remove setools-libs.x86_64
setools-libs.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libapol.so.4
/usr/lib64/libapol.so.4.4
/usr/lib64/libpoldiff.so.1
/usr/lib64/libpoldiff.so.1.3.3
/usr/lib64/libqpol.so.1
/usr/lib64/libqpol.so.1.7
/usr/lib64/libseaudit.so.4
/usr/lib64/libseaudit.so.4.5
/usr/lib64/libsefs.so.4
/usr/lib64/libsefs.so.4.0.4
/usr/lib64/setools/apol_tcl
/usr/lib64/setools/apol_tcl/libapol_tcl.so.4.4
/usr/lib64/setools/apol_tcl/pkgIndex.tcl
/usr/share/doc/setools-libs-3.3.8
/usr/share/doc/setools-libs-3.3.8/AUTHORS
/usr/share/doc/setools-libs-3.3.8/ChangeLog
/usr/share/doc/setools-libs-3.3.8/KNOWN-BUGS
/usr/share/doc/setools-libs-3.3.8/NEWS
/usr/share/doc/setools-libs-3.3.8/README
/usr/share/licenses/setools-libs-3.3.8
/usr/share/licenses/setools-libs-3.3.8/COPYING
/usr/share/licenses/setools-libs-3.3.8/COPYING.GPL
/usr/share/licenses/setools-libs-3.3.8/COPYING.LGPL
/usr/share/setools-3.3
References
Summary
In this tutorial we learn how to install setools-libs.x86_64 on Amazon Linux 2 using yum.