How To Install scap-security-guide on Rocky Linux 8

In this tutorial we learn how to install scap-security-guide on Rocky Linux 8. scap-security-guide is Security guidance and baselines in SCAP formats

Introduction

In this tutorial we learn how to install scap-security-guide on Rocky Linux 8.

What is scap-security-guide

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 8 system administrator can use the oscap CLI tool from openscap-scanner package, or the scap-workbench GUI tool from scap-workbench 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 or dnf to install scap-security-guide on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install scap-security-guide.

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

sudo dnf -y install scap-security-guide

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

sudo yum -y install scap-security-guide

How To Uninstall scap-security-guide on Rocky Linux 8

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

sudo dnf remove scap-security-guide

scap-security-guide Package Contents on Rocky Linux 8

/usr/share/doc/scap-security-guide/Contributors.md
/usr/share/doc/scap-security-guide/LICENSE
/usr/share/doc/scap-security-guide/README.md
/usr/share/man/man8/scap-security-guide.8.gz
/usr/share/scap-security-guide/ansible
/usr/share/scap-security-guide/ansible/firefox-playbook-stig.yml
/usr/share/scap-security-guide/ansible/jre-playbook-stig.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-C2S.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-CS2.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-CSCF-RHEL6-MLS.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-desktop.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-fisma-medium-rhel6-server.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-ftp-server.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-nist-CL-IL-AL.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-pci-dss.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-rht-ccp.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-server.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-standard.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-stig.yml
/usr/share/scap-security-guide/ansible/rhel6-playbook-usgcb-rhel6-server.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-C2S.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-anssi_nt28_enhanced.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-anssi_nt28_high.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-anssi_nt28_intermediary.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-anssi_nt28_minimal.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-cis.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-cjis.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-cui.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-e8.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-hipaa.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-ncp.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-ospp.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-pci-dss.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-rhelh-stig.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-rhelh-vpp.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-rht-ccp.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-standard.yml
/usr/share/scap-security-guide/ansible/rhel7-playbook-stig.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-anssi_bp28_enhanced.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-anssi_bp28_high.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-anssi_bp28_intermediary.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-anssi_bp28_minimal.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-cis.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-cjis.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-cui.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-e8.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-hipaa.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-ism_o.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-ospp.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-pci-dss.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-rhelh-vpp.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-rht-ccp.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-standard.yml
/usr/share/scap-security-guide/ansible/rl8-playbook-stig.yml
/usr/share/scap-security-guide/bash
/usr/share/scap-security-guide/bash/firefox-script-stig.sh
/usr/share/scap-security-guide/bash/jre-script-stig.sh
/usr/share/scap-security-guide/bash/rhel6-script-C2S.sh
/usr/share/scap-security-guide/bash/rhel6-script-CS2.sh
/usr/share/scap-security-guide/bash/rhel6-script-CSCF-RHEL6-MLS.sh
/usr/share/scap-security-guide/bash/rhel6-script-desktop.sh
/usr/share/scap-security-guide/bash/rhel6-script-fisma-medium-rhel6-server.sh
/usr/share/scap-security-guide/bash/rhel6-script-ftp-server.sh
/usr/share/scap-security-guide/bash/rhel6-script-nist-CL-IL-AL.sh
/usr/share/scap-security-guide/bash/rhel6-script-pci-dss.sh
/usr/share/scap-security-guide/bash/rhel6-script-rht-ccp.sh
/usr/share/scap-security-guide/bash/rhel6-script-server.sh
/usr/share/scap-security-guide/bash/rhel6-script-standard.sh
/usr/share/scap-security-guide/bash/rhel6-script-stig.sh
/usr/share/scap-security-guide/bash/rhel6-script-usgcb-rhel6-server.sh
/usr/share/scap-security-guide/bash/rhel7-script-C2S.sh
/usr/share/scap-security-guide/bash/rhel7-script-anssi_nt28_enhanced.sh
/usr/share/scap-security-guide/bash/rhel7-script-anssi_nt28_high.sh
/usr/share/scap-security-guide/bash/rhel7-script-anssi_nt28_intermediary.sh
/usr/share/scap-security-guide/bash/rhel7-script-anssi_nt28_minimal.sh
/usr/share/scap-security-guide/bash/rhel7-script-cis.sh
/usr/share/scap-security-guide/bash/rhel7-script-cjis.sh
/usr/share/scap-security-guide/bash/rhel7-script-cui.sh
/usr/share/scap-security-guide/bash/rhel7-script-e8.sh
/usr/share/scap-security-guide/bash/rhel7-script-hipaa.sh
/usr/share/scap-security-guide/bash/rhel7-script-ncp.sh
/usr/share/scap-security-guide/bash/rhel7-script-ospp.sh
/usr/share/scap-security-guide/bash/rhel7-script-pci-dss.sh
/usr/share/scap-security-guide/bash/rhel7-script-rhelh-stig.sh
/usr/share/scap-security-guide/bash/rhel7-script-rhelh-vpp.sh
/usr/share/scap-security-guide/bash/rhel7-script-rht-ccp.sh
/usr/share/scap-security-guide/bash/rhel7-script-standard.sh
/usr/share/scap-security-guide/bash/rhel7-script-stig.sh
/usr/share/scap-security-guide/bash/rl8-script-anssi_bp28_enhanced.sh
/usr/share/scap-security-guide/bash/rl8-script-anssi_bp28_high.sh
/usr/share/scap-security-guide/bash/rl8-script-anssi_bp28_intermediary.sh
/usr/share/scap-security-guide/bash/rl8-script-anssi_bp28_minimal.sh
/usr/share/scap-security-guide/bash/rl8-script-cis.sh
/usr/share/scap-security-guide/bash/rl8-script-cjis.sh
/usr/share/scap-security-guide/bash/rl8-script-cui.sh
/usr/share/scap-security-guide/bash/rl8-script-e8.sh
/usr/share/scap-security-guide/bash/rl8-script-hipaa.sh
/usr/share/scap-security-guide/bash/rl8-script-ism_o.sh
/usr/share/scap-security-guide/bash/rl8-script-ospp.sh
/usr/share/scap-security-guide/bash/rl8-script-pci-dss.sh
/usr/share/scap-security-guide/bash/rl8-script-rhelh-vpp.sh
/usr/share/scap-security-guide/bash/rl8-script-rht-ccp.sh
/usr/share/scap-security-guide/bash/rl8-script-standard.sh
/usr/share/scap-security-guide/bash/rl8-script-stig.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-anssi_nt28_enhanced-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-anssi_nt28_high-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-anssi_nt28_intermediary-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-anssi_nt28_minimal-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-cis-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-e8-ks.cfg
/usr/share/scap-security-guide/kickstart/ssg-rhel7-hipaa-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/ssg/content
/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-1.2.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-1.2.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-1.2.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-1.2.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
/usr/share/xml/scap/ssg/content/ssg-rl8-cpe-dictionary.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-cpe-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-ds-1.2.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-ds.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-ocil.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-oval.xml
/usr/share/xml/scap/ssg/content/ssg-rl8-xccdf.xml

References

Summary

In this tutorial we learn how to install scap-security-guide on Rocky Linux 8 using yum and dnf.