How To Install setools-gui.x86_64 on Amazon Linux 2

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

Introduction

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

What is setools-gui.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 graphical tools apol policy analysis tool seaudit audit log analysis tool

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

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

sudo yum -y install setools-gui.x86_64

How To Uninstall setools-gui.x86_64 on Amazon Linux 2

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

sudo yum remove setools-gui.x86_64

setools-gui.x86_64 Package Contents on Amazon Linux 2

/etc/pam.d/seaudit
/etc/security/console.apps/seaudit
/usr/bin/apol
/usr/bin/seaudit
/usr/sbin/seaudit
/usr/share/applications/apol.desktop
/usr/share/man/man1/apol.1.gz
/usr/share/man/man8/seaudit.8.gz
/usr/share/pixmaps/apol.png
/usr/share/pixmaps/seaudit.png
/usr/share/setools-3.3/apol.gif
/usr/share/setools-3.3/apol_help.txt
/usr/share/setools-3.3/apol_perm_mapping_ver12
/usr/share/setools-3.3/apol_perm_mapping_ver15
/usr/share/setools-3.3/apol_perm_mapping_ver16
/usr/share/setools-3.3/apol_perm_mapping_ver17
/usr/share/setools-3.3/apol_perm_mapping_ver18
/usr/share/setools-3.3/apol_perm_mapping_ver19
/usr/share/setools-3.3/apol_perm_mapping_ver20
/usr/share/setools-3.3/apol_perm_mapping_ver21
/usr/share/setools-3.3/apol_perm_mapping_ver22
/usr/share/setools-3.3/apol_perm_mapping_ver23
/usr/share/setools-3.3/apol_perm_mapping_ver24
/usr/share/setools-3.3/domaintrans_help.txt
/usr/share/setools-3.3/dot_seaudit
/usr/share/setools-3.3/file_relabel_help.txt
/usr/share/setools-3.3/infoflow_help.txt
/usr/share/setools-3.3/seaudit-small.png
/usr/share/setools-3.3/seaudit.glade
/usr/share/setools-3.3/seaudit.png
/usr/share/setools-3.3/seaudit_help.txt
/usr/share/setools-3.3/types_relation_help.txt

References

Summary

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