在本教程中,我们学习如何安装 setools-console CentOS 7. setools-console是SELinux的策略分析命令行工具
介绍
在本教程中我们学习如何安装 setools-console
在 CentOS 7.
什么是 setools-console
SETools 是图形工具、命令行工具和库的集合,旨在促进 SELinux 策略分析。 该软件包包括以下控制台工具 secmds 命令行工具 sediff 语义策略差异工具
我们可以用 yum
或者 dnf
安装 setools-console
在 CentOS 7. 在本教程中,我们讨论这两种方法,但您只需选择其中一种方法来安装 setools-console。
更新 yum 数据库 yum
使用以下命令。
更新 yum 数据库后,我们可以安装 setools-console
使用 yum
通过运行以下命令:
sudo yum -y install setools-console
如果你没有安装dnf,可以安装dnf CentOS 7 第一。 更新 yum 数据库 dnf
使用以下命令。
更新 yum 数据库后,我们可以安装 setools-console
使用 dnf
通过运行以下命令:
sudo dnf -y install setools-console
仅卸载 setools-console
打包我们可以使用以下命令:
sudo dnf remove setools-console
参考
概括
在本教程中我们学习如何安装 setools-console
在 CentOS 7 使用 yum
和 dnf
。