Linux Troubleshooting – semanage command not found in CentOS 7/8 And RHEL 7/8

semanage command not found in CentOS 7,8 And RHEL 7,8

8 Responses

  1. Harita Kambhampati says:

    Thank you for providing a solution. Super easy to follow.

  2. Jason says:

    Thank you! I needed semanage after changing my webroot to a nonstandard path.

  3. ss says:

    yum install policycoreutils-python

  4. Jim says:

    Worked for me. Thank you

  5. firzan says:

    worked for my machine also … Terima kasih pak!

  6. PD says:

    I was able to type
    yum provides semanage
    and come up with the same results.
    I guess you typed /usr/sbin/semanage to limit the number of results, but is there a way the end user would know the ultimate path of that program to be able to anticipate that?

    • sk says:

      Hi, usually the the executables are located in /usr/sbin and /usr/bin and /usr/local/bin directories. Hence, we can search directly in these locations.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.