You need to use the yum command to find out which package provides file called /usr/sbin/semanage. Type the following command:
首先需要使用yum命令找到/usr/sbin/semanage对应的包名,命令如下:
# yum provides /usr/sbin/semanage //查找命令或文件对应包名
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
policycoreutils-python-2.0.83-19.18.el6.i686 : SELinux policy core python utilities
Repo : repo
Matched from:
Filename : /usr/sbin/semanage
安装
# yum -y install policycoreutils-python
==============================OVER==========================