How To Install openscap-engine-sce on CentOS 7

In this tutorial we learn how to install openscap-engine-sce on CentOS 7. openscap-engine-sce is Script Check Engine plug-in for OpenSCAP

Introduction

In this tutorial we learn how to install openscap-engine-sce on CentOS 7.

What is openscap-engine-sce

The Script Check Engine is non-standard extension to SCAP protocol. This engine allows content authors to avoid OVAL language and write their assessment commands using a scripting language (Bash, Perl, Python, Ruby, …). The Script Check Engine is non-standard extension to SCAP protocol. This engine allows content authors to avoid OVAL language and write their assessment commands using a scripting language (Bash, Perl, Python, Ruby, …).

We can use yum or dnf to install openscap-engine-sce on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install openscap-engine-sce.

Install openscap-engine-sce on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install openscap-engine-sce using yum by running the following command:

sudo yum -y install openscap-engine-sce

Install openscap-engine-sce on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install openscap-engine-sce using dnf by running the following command:

sudo dnf -y install openscap-engine-sce

How To Uninstall openscap-engine-sce on CentOS 7

To uninstall only the openscap-engine-sce package we can use the following command:

sudo dnf remove openscap-engine-sce

References

Summary

In this tutorial we learn how to install openscap-engine-sce on CentOS 7 using yum and dnf.