How To Install scap-security-guide.noarch on Amazon Linux 2

In this tutorial we learn how to install scap-security-guide.noarch in Amazon Linux 2. scap-security-guide.noarch is Security guidance and baselines in SCAP formats

Introduction

In this tutorial we learn how to install scap-security-guide.noarch on Amazon Linux 2.

What is scap-security-guide.noarch

The scap-security-guide project provides a guide for configuration of the system from the final system’s security point of view. The guidance is specified in the Security Content Automation Protocol (SCAP) format and constitutes a catalog of practical hardening advice, linked to government requirements where applicable. The project bridges the gap between generalized policy requirements and specific implementation guidelines. The Red Hat Enterprise Linux 7 system administrator can use the oscap command-line tool from the openscap-utils package to verify that the system conforms to provided guideline. Refer to scap-security-guide(8) manual page for further information.

We can use yum to install scap-security-guide.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install scap-security-guide.noarch.

Install scap-security-guide.noarch 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 scap-security-guide.noarch using yum by running the following command:

sudo yum -y install scap-security-guide.noarch

How To Uninstall scap-security-guide.noarch on Amazon Linux 2

To uninstall only the scap-security-guide.noarch package we can use the following command:

sudo yum remove scap-security-guide.noarch

scap-security-guide.noarch Package Contents on Amazon Linux 2

/usr/share/doc/scap-security-guide-0.1.40
/usr/share/doc/scap-security-guide-0.1.40/Contributors.md
/usr/share/doc/scap-security-guide-0.1.40/DISCLAIMER
/usr/share/doc/scap-security-guide-0.1.40/LICENSE
/usr/share/doc/scap-security-guide-0.1.40/README.md
/usr/share/doc/scap-security-guide-0.1.40/tables
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-cces.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-cisrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-nistrefs-C2S.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-nistrefs-standard.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-nistrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-pcidssrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-srgmap-flat.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-srgmap.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-stig-testinfo.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel6-stig.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-anssirefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-cces.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-cisrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-cuirefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-nistrefs-C2S.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-nistrefs-ospp.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-nistrefs-standard.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-nistrefs-stig-rhel7-disa.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-nistrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-pcidssrefs.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-srgmap-flat.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-srgmap.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-stig-testinfo.html
/usr/share/doc/scap-security-guide-0.1.40/tables/table-rhel7-stig.html
/usr/share/man/man8/scap-security-guide.8.gz
/usr/share/scap-security-guide
/usr/share/scap-security-guide/ansible
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-C2S.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-cjis.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-hipaa.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-nist-800-171-cui.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-ospp.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-ospp42.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-pci-dss.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-rht-ccp.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-standard.yml
/usr/share/scap-security-guide/ansible/ssg-amzn2-role-stig-rhel7-disa.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-C2S.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-CS2.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-CSCF-RHEL6-MLS.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-desktop.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-fisma-medium-rhel6-server.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-ftp-server.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-nist-CL-IL-AL.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-pci-dss.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-rht-ccp.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-server.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-standard.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-stig-rhel6-disa.yml
/usr/share/scap-security-guide/ansible/ssg-centos6-role-usgcb-rhel6-server.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-C2S.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-cjis.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-hipaa.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-nist-800-171-cui.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-ospp.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-ospp42.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-pci-dss.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-rht-ccp.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-standard.yml
/usr/share/scap-security-guide/ansible/ssg-centos7-role-stig-rhel7-disa.yml
/usr/share/scap-security-guide/ansible/ssg-firefox-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-firefox-role-stig-firefox-upstream.yml
/usr/share/scap-security-guide/ansible/ssg-jre-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-jre-role-stig-java-upstream.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-C2S.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-CS2.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-CSCF-RHEL6-MLS.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-desktop.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-fisma-medium-rhel6-server.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-ftp-server.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-nist-CL-IL-AL.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-pci-dss.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-rht-ccp.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-server.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-standard.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-stig-rhel6-disa.yml
/usr/share/scap-security-guide/ansible/ssg-rhel6-role-usgcb-rhel6-server.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-C2S.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-cjis.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-default.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-hipaa.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-nist-800-171-cui.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-ospp.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-ospp42.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-pci-dss.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-rht-ccp.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-standard.yml
/usr/share/scap-security-guide/ansible/ssg-rhel7-role-stig-rhel7-disa.yml
/usr/share/scap-security-guide/bash
/usr/share/scap-security-guide/bash/ssg-amzn2-role-C2S.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-cjis.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-default.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-hipaa.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-nist-800-171-cui.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-ospp.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-ospp42.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-pci-dss.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-rht-ccp.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-standard.sh
/usr/share/scap-security-guide/bash/ssg-amzn2-role-stig-rhel7-disa.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-C2S.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-CS2.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-CSCF-RHEL6-MLS.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-default.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-desktop.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-fisma-medium-rhel6-server.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-ftp-server.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-nist-CL-IL-AL.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-pci-dss.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-rht-ccp.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-server.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-standard.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-stig-rhel6-disa.sh
/usr/share/scap-security-guide/bash/ssg-centos6-role-usgcb-rhel6-server.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-C2S.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-cjis.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-default.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-hipaa.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-nist-800-171-cui.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-ospp.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-ospp42.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-pci-dss.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-rht-ccp.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-standard.sh
/usr/share/scap-security-guide/bash/ssg-centos7-role-stig-rhel7-disa.sh
/usr/share/scap-security-guide/bash/ssg-firefox-role-default.sh
/usr/share/scap-security-guide/bash/ssg-firefox-role-stig-firefox-upstream.sh
/usr/share/scap-security-guide/bash/ssg-jre-role-default.sh
/usr/share/scap-security-guide/bash/ssg-jre-role-stig-java-upstream.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-C2S.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-CS2.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-CSCF-RHEL6-MLS.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-default.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-desktop.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-fisma-medium-rhel6-server.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-ftp-server.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-nist-CL-IL-AL.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-pci-dss.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-rht-ccp.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-server.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-standard.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-stig-rhel6-disa.sh
/usr/share/scap-security-guide/bash/ssg-rhel6-role-usgcb-rhel6-server.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-C2S.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-cjis.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-default.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-hipaa.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-nist-800-171-cui.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-ospp.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-ospp42.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-pci-dss.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-rht-ccp.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-standard.sh
/usr/share/scap-security-guide/bash/ssg-rhel7-role-stig-rhel7-disa.sh
/usr/share/scap-security-guide/kickstart
/usr/share/scap-security-guide/kickstart/ssg-rhel6-pci-dss-with-gui-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel6-stig-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel6-usgcb-server-with-gui-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-ospp-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-pci-dss-server-with-gui-oaa-ks.cfg
/usr/share/xml/scap
/usr/share/xml/scap/ssg
/usr/share/xml/scap/ssg/content
/usr/share/xml/scap/ssg/content/ssg-amzn2-ds.xml
/usr/share/xml/scap/ssg/content/ssg-amzn2-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-centos6-ds.xml
/usr/share/xml/scap/ssg/content/ssg-centos6-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml
/usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-cpe-dictionary.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-cpe-oval.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-ds.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-ocil.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-oval.xml
/usr/share/xml/scap/ssg/content/ssg-firefox-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-jre-cpe-dictionary.xml
/usr/share/xml/scap/ssg/content/ssg-jre-cpe-oval.xml
/usr/share/xml/scap/ssg/content/ssg-jre-ds.xml
/usr/share/xml/scap/ssg/content/ssg-jre-ocil.xml
/usr/share/xml/scap/ssg/content/ssg-jre-oval.xml
/usr/share/xml/scap/ssg/content/ssg-jre-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-dictionary.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-cpe-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-ocil.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rhel6-xccdf.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-ocil.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml

References

Summary

In this tutorial we learn how to install scap-security-guide.noarch on Amazon Linux 2 using yum.