How to Install and Uninstall policycoreutils.x86_64 Package on Amazon Linux 2

Last updated: January 12,2025

1. Install "policycoreutils.x86_64" package

Here is a brief guide to show you how to install policycoreutils.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install policycoreutils.x86_64

2. Uninstall "policycoreutils.x86_64" package

Please follow the instructions below to uninstall policycoreutils.x86_64 on Amazon Linux 2:

$ sudo yum remove policycoreutils.x86_64 $ sudo yum autoremove

3. Information about the policycoreutils.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : policycoreutils
Arch : x86_64
Version : 2.5
Release : 22.amzn2
Size : 867 k
Repo : amzn2-core/2/x86_64
Summary : SELinux policy core utilities
URL : http://www.selinuxproject.org
License : GPLv2
Description : Security-enhanced Linux is a feature of the Linux? kernel and a
: number of utilities with enhanced security functionality designed
: to add mandatory access controls to Linux. The Security-enhanced
: Linux kernel contains new architectural components originally
: developed to improve the security of the Flask operating system.
: These architectural components provide general support for the
: enforcement of many kinds of mandatory access control policies,
: including those based on the concepts of Type Enforcement?,
: Role-based Access Control, and Multi-level Security.
:
: policycoreutils contains the policy core utilities that are
: required for basic operation of a SELinux system. These utilities
: include load_policy to load policies, setfiles to label
: filesystems, newrole to switch roles.