How To Install policycoreutils-restorecond.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install policycoreutils-restorecond.x86_64 on Amazon Linux 2.
What is policycoreutils-restorecond.x86_64
The policycoreutils-restorecond package contains the restorecond service.
We can use yum to install policycoreutils-restorecond.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install policycoreutils-restorecond.x86_64.
Install policycoreutils-restorecond.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install policycoreutils-restorecond.x86_64 using yum by running the following command:
sudo yum -y install policycoreutils-restorecond.x86_64
How To Uninstall policycoreutils-restorecond.x86_64 on Amazon Linux 2
To uninstall only the policycoreutils-restorecond.x86_64 package we can use the following command:
sudo yum remove policycoreutils-restorecond.x86_64
policycoreutils-restorecond.x86_64 Package Contents on Amazon Linux 2
/etc/selinux/restorecond.conf
/etc/selinux/restorecond_user.conf
/etc/xdg/autostart/restorecond.desktop
/usr/lib/systemd/system/restorecond.service
/usr/sbin/restorecond
/usr/share/dbus-1/services/org.selinux.Restorecond.service
/usr/share/licenses/policycoreutils-restorecond-2.5
/usr/share/licenses/policycoreutils-restorecond-2.5/COPYING
/usr/share/man/man8/restorecond.8.gz
/usr/share/man/ru/man8/restorecond.8.gz
References
Summary
In this tutorial we learn how to install policycoreutils-restorecond.x86_64 on Amazon Linux 2 using yum.