How To Install setools-libs.i686 on Amazon Linux 2

In this tutorial we learn how to install setools-libs.i686 in Amazon Linux 2. setools-libs.i686 is Policy analysis support libraries for SELinux

Introduction

In this tutorial we learn how to install setools-libs.i686 on Amazon Linux 2.

What is setools-libs.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install setools-libs.i686.

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

sudo yum -y install setools-libs.i686

How To Uninstall setools-libs.i686 on Amazon Linux 2

To uninstall only the setools-libs.i686 package we can use the following command:

sudo yum remove setools-libs.i686

setools-libs.i686 Package Contents on Amazon Linux 2

/usr/lib/libapol.so.4
/usr/lib/libapol.so.4.4
/usr/lib/libpoldiff.so.1
/usr/lib/libpoldiff.so.1.3.3
/usr/lib/libqpol.so.1
/usr/lib/libqpol.so.1.7
/usr/lib/libseaudit.so.4
/usr/lib/libseaudit.so.4.5
/usr/lib/libsefs.so.4
/usr/lib/libsefs.so.4.0.4
/usr/lib/setools/apol_tcl
/usr/lib/setools/apol_tcl/libapol_tcl.so.4.4
/usr/lib/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.i686 on Amazon Linux 2 using yum.