In this tutorial, I have fix semanage command not found in Centos 8. Semanage is an SELinux (Security-Enhanced Linux) management tool
Error semanage command not found in Centos 8
bash: semanage: command not found
I use yum command
[[email protected] ~]# yum provides /usr/sbin/semanage
The terminal output as below:
Last metadata expiration check: 1:04:49 ago on Sun 09 Aug 2020 12:50:49 PM UTC.
policycoreutils-python-utils-2.9-9.el8.noarch : SELinux policy core python utilities
Repo : BaseOS
Matched from:
Filename : /usr/sbin/semanage
It's missing policycoreutils-python-utils package in Centos 8. Now, I install package it.
[[email protected] ~]# yum install policycoreutils-python-utils
Once the install complete, you try semanage command on Centos 8.
# man semanage
OR
# semanage --help
I hope this helps you! have a nice day!
Thanks for reading Fix semanage command not found in Centos 8 My blog Zimbra Mail Server,linux,bash script,centos,linux command I hope this is useful.