semanage Command Not Found in CentOS.
Posted On May 23, 2019
semanage is a SELinux Policy Management tool.With the help of semanage,we can configure the certain elements of SELinux policy without requiring modification to or recompilation from policy sources.
-bash: semanage: command not found
To fix the error:
We need to install the necessary package for getting semanage command.
# yum install policycoreutils-python -y
After installation check the semanage command. For more confirmation you can use which command.It will show absolute path of semanage command.
# which semanage
To know more about semanage. Read the man page of semanage.
# man semanage