How To Install policycoreutils-sandbox.x86_64 on Amazon Linux 2

In this tutorial we learn how to install policycoreutils-sandbox.x86_64 in Amazon Linux 2. policycoreutils-sandbox.x86_64 is SELinux sandbox utilities

Introduction

In this tutorial we learn how to install policycoreutils-sandbox.x86_64 on Amazon Linux 2.

What is policycoreutils-sandbox.x86_64

The policycoreutils-sandbox package contains the scripts to create graphical sandboxes

We can use yum to install policycoreutils-sandbox.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install policycoreutils-sandbox.x86_64.

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

sudo yum -y install policycoreutils-sandbox.x86_64

How To Uninstall policycoreutils-sandbox.x86_64 on Amazon Linux 2

To uninstall only the policycoreutils-sandbox.x86_64 package we can use the following command:

sudo yum remove policycoreutils-sandbox.x86_64

policycoreutils-sandbox.x86_64 Package Contents on Amazon Linux 2

/etc/sysconfig/sandbox
/usr/sbin/seunshare
/usr/share/man/man5/sandbox.5.gz
/usr/share/man/man8/seunshare.8.gz
/usr/share/sandbox/sandboxX.sh
/usr/share/sandbox/start

References

Summary

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