< Home - < Back

selinux-policy


Information about the package, selinux-policy, which is shipped with common Linux distributions. The selinux-policy package is designed for, SELinux policy configuration.


Package Name:

selinux-policy

Summary:

SELinux policy configuration

Description:

SELinux Reference Policy - modular. Based off of reference policy: Checked out revision 2.20091117

Architecture:

noarch

Version:

3.7.19

Release:

307el6_9.3

Size:

9.0 M

Repository:

installed

From Repository:

updates

Licence:

GPLv2+



Handy Yum Commands for selinux-policy


Control the selinux-policy package with the following handy commands outlined below.


Command

Description of Command

yum install selinux-policy

This command will install selinux-policy on the server.

yum remove selinux-policy

This command will un-install selinux-policy on the server. When you run this command, you will be asked if you are sure that you want to remove selinux-policy, so you have to manually confirm that you want to do this.

yum -y remove selinux-policy

This command will un-install selinux-policy on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove selinux-policy when using the -y flag.

yum update selinux-policy

This command will update selinux-policy to the latest version. When you run this command, you will be asked if you are sure that you want to remove selinux-policy, so you have to manually confirm that you want to do this.

yum -y update selinux-policy

This command will update selinux-policy to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove selinux-policy when using the -y flag.

yum info selinux-policy

This command will show you core information about the selinux-policy package.

yum deplist selinux-policy

This command will show you the dependencies for selinux-policy. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update selinux-policy

This command will check if there is an update waiting on selinux-policy. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.