How To Install policycoreutils-sandbox on Rocky Linux 8

In this tutorial we learn how to install policycoreutils-sandbox on Rocky Linux 8. policycoreutils-sandbox is SELinux sandbox utilities

Introduction

In this tutorial we learn how to install policycoreutils-sandbox on Rocky Linux 8.

What is policycoreutils-sandbox

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

We can use yum or dnf to install policycoreutils-sandbox on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install policycoreutils-sandbox.

Install policycoreutils-sandbox on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install policycoreutils-sandbox using dnf by running the following command:

sudo dnf -y install policycoreutils-sandbox

Install policycoreutils-sandbox on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install policycoreutils-sandbox using yum by running the following command:

sudo yum -y install policycoreutils-sandbox

How To Uninstall policycoreutils-sandbox on Rocky Linux 8

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

sudo dnf remove policycoreutils-sandbox

policycoreutils-sandbox Package Contents on Rocky Linux 8

/etc/sysconfig/sandbox
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/500a88e1939cefc8d482372b0e1cf6ee161f91
/usr/sbin/seunshare
/usr/share/locale/cs/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/da/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/de/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/es/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/fi/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/fr/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/hu/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/it/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/ja/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/ko/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/nl/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/pl/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/pt_BR/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/ru/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/si/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/sv/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/tr/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/uk/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/zh_CN/LC_MESSAGES/selinux-sandbox.mo
/usr/share/locale/zh_TW/LC_MESSAGES/selinux-sandbox.mo
/usr/share/man/man5/sandbox.5.gz
/usr/share/man/man8/seunshare.8.gz
/usr/share/man/ru/man5/sandbox.5.gz
/usr/share/man/ru/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 on Rocky Linux 8 using yum and dnf.