How To Install setools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install setools.x86_64 in Amazon Linux 2. setools.x86_64 is Policy analysis tools for SELinux

Introduction

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

What is setools.x86_64

SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This meta-package depends upon the main packages necessary to run SETools.

We can use yum to install setools.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.x86_64.

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

sudo yum -y install setools.x86_64

How To Uninstall setools.x86_64 on Amazon Linux 2

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

sudo yum remove setools.x86_64

setools.x86_64 Package Contents on Amazon Linux 2

References

Summary

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