Fix semanage command not found in Centos 8

 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 

[root@DevopsRoles ~]# 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.

[root@DevopsRoles ~]# yum install policycoreutils-python-utils

Once the install complete, you try semanage command on Centos 8.

# man semanage


# semanage --help

I hope this helps you! have a nice day!


Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6