-bash: semanage: command not found on CentOS or RHEL

I am trying to run semanage permissive -a httpd_t command but met with the following error

-bash: semanage: command not found

How do I fix this error and install semanage command on CentOS Linux?

  1. Run dnf/yum on a CentOS/RHEL as follows
    sudo yum provides /usr/sbin/semanage
  2. Look for package name such as policycoreutils-python-utils and install semanage when you get an error such as -bash: semanage: command not found on CentOS or RHEL, execute:
    sudo yum -y install policycoreutils-python-utils
  3. Read man page:
    man semanage

For more info see my updated page:
https://www.cyberciti.biz/faq/redhat-install-semanage-selinux-command-rpm/