How To Install policycoreutils-gui on Rocky Linux 8

In this tutorial we learn how to install policycoreutils-gui on Rocky Linux 8. policycoreutils-gui is SELinux configuration GUI

Introduction

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

What is policycoreutils-gui

system-config-selinux is a utility for managing the SELinux environment

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

Install policycoreutils-gui 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-gui using dnf by running the following command:

sudo dnf -y install policycoreutils-gui

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

sudo yum -y install policycoreutils-gui

How To Uninstall policycoreutils-gui on Rocky Linux 8

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

sudo dnf remove policycoreutils-gui

policycoreutils-gui Package Contents on Rocky Linux 8

/usr/bin/selinux-polgengui
/usr/bin/system-config-selinux
/usr/lib/python3.6/site-packages/sepolicy/gui.py
/usr/lib/python3.6/site-packages/sepolicy/sepolicy.glade
/usr/share/applications/selinux-polgengui.desktop
/usr/share/applications/sepolicy.desktop
/usr/share/applications/system-config-selinux.desktop
/usr/share/icons/hicolor/16x16/apps/sepolicy.png
/usr/share/icons/hicolor/22x22/apps/sepolicy.png
/usr/share/icons/hicolor/24x24/apps/system-config-selinux.png
/usr/share/icons/hicolor/256x256/apps/sepolicy.png
/usr/share/icons/hicolor/32x32/apps/sepolicy.png
/usr/share/icons/hicolor/48x48/apps/sepolicy.png
/usr/share/locale/af/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/am/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ar/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/as/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ast/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/be/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/bg/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/bn/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/bn_IN/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/br/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/bs/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ca/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/cs/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/cy/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/da/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/de/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/de_CH/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/el/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/en_GB/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/eo/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/es/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/et/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/eu/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/fa/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/fi/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/fil/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/fr/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/fur/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ga/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/gl/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/gu/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/he/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/hi/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/hr/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/hu/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ia/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/id/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ilo/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/is/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/it/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ja/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ka/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/kk/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/km/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/kn/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ko/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ky/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/lt/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/lv/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/mai/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/mk/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ml/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/mn/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/mr/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ms/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/my/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/nb/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/nds/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ne/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/nl/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/nn/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/nso/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/or/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/pa/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/pl/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/pt/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/pt_BR/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ro/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ru/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/si/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sk/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sl/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sq/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sr/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sr@latin/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/sv/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ta/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/te/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/tg/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/th/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/tr/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/uk/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/ur/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/vi/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/zh_CN/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/zh_HK/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/zh_TW/LC_MESSAGES/selinux-gui.mo
/usr/share/locale/zu/LC_MESSAGES/selinux-gui.mo
/usr/share/man/man8/selinux-polgengui.8.gz
/usr/share/man/man8/sepolicy-gui.8.gz
/usr/share/man/man8/system-config-selinux.8.gz
/usr/share/man/ru/man8/selinux-polgengui.8.gz
/usr/share/man/ru/man8/sepolicy-gui.8.gz
/usr/share/man/ru/man8/system-config-selinux.8.gz
/usr/share/pixmaps/sepolicy.png
/usr/share/pixmaps/system-config-selinux.png
/usr/share/system-config-selinux
/usr/share/system-config-selinux/__pycache__
/usr/share/system-config-selinux/__pycache__/booleansPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/booleansPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/domainsPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/domainsPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/fcontextPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/fcontextPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/loginsPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/loginsPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/modulesPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/modulesPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/portsPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/portsPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/semanagePage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/semanagePage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/statusPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/statusPage.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/system-config-selinux.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/system-config-selinux.cpython-36.pyc
/usr/share/system-config-selinux/__pycache__/usersPage.cpython-36.opt-1.pyc
/usr/share/system-config-selinux/__pycache__/usersPage.cpython-36.pyc
/usr/share/system-config-selinux/booleansPage.py
/usr/share/system-config-selinux/domainsPage.py
/usr/share/system-config-selinux/fcontextPage.py
/usr/share/system-config-selinux/loginsPage.py
/usr/share/system-config-selinux/modulesPage.py
/usr/share/system-config-selinux/polgen.ui
/usr/share/system-config-selinux/portsPage.py
/usr/share/system-config-selinux/semanagePage.py
/usr/share/system-config-selinux/statusPage.py
/usr/share/system-config-selinux/system-config-selinux.png
/usr/share/system-config-selinux/system-config-selinux.py
/usr/share/system-config-selinux/system-config-selinux.ui
/usr/share/system-config-selinux/usersPage.py

References

Summary

In this tutorial we learn how to install policycoreutils-gui on Rocky Linux 8 using yum and dnf.