While trying to install semanage and it returns the below error?
[root@yuvarajan]# yum install -y semanage
Failed to set locale, defaulting to C
No package semanage available.
Error: Nothing to do
To identify which package in the RPM provides a similar option to be available, execute the below command.
$ yum provides /usr/sbin/semanage [OR]
$ yum whatprovides semanage
It will reveal the list of supporting packages like below.
policycoreutils-python-2.2.5-11.el7.x86_64 : SELinux policy core python utilities
Repo : rhui-rhel-7-server-rhui-rpms
Matched from:
Filename : /usr/sbin/semanage
policycoreutils-python-2.2.5-11.el7_0.1.x86_64 : SELinux policy core python utilities
Repo : rhui-rhel-7-server-rhui-rpms
Matched from:
Filename : /usr/sbin/semanage
Then proceed to install any one of the package further which semanage will be available in the local client.
Top comments (0)