How To Install openscap-engine-sce on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install openscap-engine-sce on Rocky Linux 8.

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, …).

We can use yum or dnf to install openscap-engine-sce on Rocky Linux 8. 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install openscap-engine-sce

Install openscap-engine-sce on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install openscap-engine-sce

How To Uninstall openscap-engine-sce on Rocky Linux 8

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

sudo dnf remove openscap-engine-sce

openscap-engine-sce Package Contents on Rocky Linux 8

/usr/bin/oscap-run-sce-script
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/f291427f32b9e6f49d26f1a2ed6eceb014c89f
/usr/lib/libopenscap_sce.so.25
/usr/lib/libopenscap_sce.so.25.3.0
/usr/bin/oscap-run-sce-script
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/ccd2d08c0a329a59e97d7fd70df82a3212fd33
/usr/lib64/libopenscap_sce.so.25
/usr/lib64/libopenscap_sce.so.25.3.0

References

Summary

In this tutorial we learn how to install openscap-engine-sce on Rocky Linux 8 using yum and dnf.