How to Install and Uninstall selinux-policy.noarch Package on Amazon Linux 2

Last updated: November 27,2024

1. Install "selinux-policy.noarch" package

This tutorial shows how to install selinux-policy.noarch on Amazon Linux 2

$ sudo yum makecache $ sudo yum install selinux-policy.noarch

2. Uninstall "selinux-policy.noarch" package

This guide covers the steps necessary to uninstall selinux-policy.noarch on Amazon Linux 2:

$ sudo yum remove selinux-policy.noarch $ sudo yum autoremove

3. Information about the selinux-policy.noarch package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : selinux-policy
Arch : noarch
Version : 3.13.1
Release : 192.amzn2.6.7
Size : 456 k
Repo : amzn2-core/2/x86_64
Summary : SELinux policy configuration
URL : http://oss.tresys.com/repos/refpolicy/
License : GPLv2+
Description : SELinux Reference Policy - modular.
: Based off of reference policy: Checked out revision 2.20091117