How To Install openscap-scanner.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install openscap-scanner.x86_64 on Amazon Linux 2.
What is openscap-scanner.x86_64
The openscap-scanner package contains oscap command-line tool. The oscap is configuration and vulnerability scanner, capable of performing compliance checking using SCAP content.
We can use yum to install openscap-scanner.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-scanner.x86_64.
Install openscap-scanner.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-scanner.x86_64 using yum by running the following command:
sudo yum -y install openscap-scanner.x86_64
How To Uninstall openscap-scanner.x86_64 on Amazon Linux 2
To uninstall only the openscap-scanner.x86_64 package we can use the following command:
sudo yum remove openscap-scanner.x86_64
openscap-scanner.x86_64 Package Contents on Amazon Linux 2
/etc/bash_completion.d
/etc/bash_completion.d/oscap
/usr/bin/oscap
/usr/bin/oscap-chroot
/usr/share/man/man8/oscap-chroot.8.gz
/usr/share/man/man8/oscap.8.gz
References
Summary
In this tutorial we learn how to install openscap-scanner.x86_64 on Amazon Linux 2 using yum.