How To Install openscap-engine-sce.x86_64 on Amazon Linux 2

In this tutorial we learn how to install openscap-engine-sce.x86_64 in Amazon Linux 2. openscap-engine-sce.x86_64 is Script Check Engine plug-in for OpenSCAP

Introduction

In this tutorial we learn how to install openscap-engine-sce.x86_64 on Amazon Linux 2.

What is openscap-engine-sce.x86_64

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 to install openscap-engine-sce.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install openscap-engine-sce.x86_64.

Install openscap-engine-sce.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:

sudo yum -y install openscap-engine-sce.x86_64

How To Uninstall openscap-engine-sce.x86_64 on Amazon Linux 2

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

sudo yum remove openscap-engine-sce.x86_64

openscap-engine-sce.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libopenscap_sce.so.8
/usr/lib64/libopenscap_sce.so.8.14.1

References

Summary

In this tutorial we learn how to install openscap-engine-sce.x86_64 on Amazon Linux 2 using yum.