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

Last updated: September 18,2024

1. Install "checkpolicy.x86_64" package

Please follow the guidance below to install checkpolicy.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install checkpolicy.x86_64

2. Uninstall "checkpolicy.x86_64" package

In this section, we are going to explain the necessary steps to uninstall checkpolicy.x86_64 on Amazon Linux 2:

$ sudo yum remove checkpolicy.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : checkpolicy
Arch : x86_64
Version : 2.5
Release : 6.amzn2
Size : 294 k
Repo : amzn2-core/2/x86_64
Summary : SELinux policy compiler
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.
:
: This package contains checkpolicy, the SELinux policy compiler.
: Only required for building policies.