How To Install scap-security-guide-doc on CentOS 8

scap-security-guide-doc is HTML formatted security guides generated from XCCDF benchmarks

Introduction

In this tutorial we learn how to install scap-security-guide-doc on CentOS 8.

What is scap-security-guide-doc

The scap-security-guide-doc package contains HTML formatted documents containing hardening guidances that have been generated from XCCDF benchmarks present in scap-security-guide package.

We can use yum or dnf to install scap-security-guide-doc on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install scap-security-guide-doc.

Install scap-security-guide-doc on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install scap-security-guide-doc using dnf by running the following command:

sudo dnf -y install scap-security-guide-doc

Install scap-security-guide-doc on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install scap-security-guide-doc using yum by running the following command:

sudo yum -y install scap-security-guide-doc

How To Uninstall scap-security-guide-doc on CentOS 8

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

sudo dnf remove scap-security-guide-doc

scap-security-guide-doc Package Contents on CentOS 8

/usr/share/doc/scap-security-guide/guides/ssg-firefox-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-firefox-guide-index.html
/usr/share/doc/scap-security-guide/guides/ssg-firefox-guide-stig.html
/usr/share/doc/scap-security-guide/guides/ssg-jre-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-jre-guide-index.html
/usr/share/doc/scap-security-guide/guides/ssg-jre-guide-stig.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-PCIDSS-RHEL-6-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-PCIDSS-RHEL-6-guide-pci-dss_centric.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-C2S.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-CS2.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-CSCF-RHEL6-MLS.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-desktop.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-fisma-medium-rhel6-server.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-ftp-server.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-index.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-nist-CL-IL-AL.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-pci-dss.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-rht-ccp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-server.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-standard.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-stig.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel6-guide-usgcb-rhel6-server.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-PCIDSS-RHEL-7-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-PCIDSS-RHEL-7-guide-pci-dss_centric.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-C2S.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-anssi_nt28_enhanced.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-anssi_nt28_high.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-anssi_nt28_intermediary.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-anssi_nt28_minimal.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-cis.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-cjis.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-cui.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-e8.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-hipaa.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-index.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-ncp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-ospp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-pci-dss.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-rhelh-stig.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-rhelh-vpp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-rht-ccp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-standard.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel7-guide-stig.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-anssi_bp28_enhanced.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-anssi_bp28_intermediary.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-anssi_bp28_minimal.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-cis.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-cui.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-default.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-e8.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-hipaa.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-index.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-ospp.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-pci-dss.html
/usr/share/doc/scap-security-guide/guides/ssg-rhel8-guide-stig.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-cces.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-cisrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-nistrefs-C2S.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-nistrefs-standard.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-nistrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-pcidssrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-srgmap-flat.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-srgmap.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-stig-testinfo.html
/usr/share/doc/scap-security-guide/tables/table-rhel6-stig.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-anssirefs-nt28_enhanced.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-anssirefs-nt28_high.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-anssirefs-nt28_intermediary.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-anssirefs-nt28_minimal.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-anssirefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-cces.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-cisrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-cuirefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-nistrefs-C2S.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-nistrefs-ospp.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-nistrefs-standard.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-nistrefs-stig.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-nistrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-ospprefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-pcidssrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-srgmap-flat.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-srgmap.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-stig-testinfo.html
/usr/share/doc/scap-security-guide/tables/table-rhel7-stig.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-anssirefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-cces.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-cisrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-cuirefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-nistrefs-ospp.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-nistrefs-stig.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-nistrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-pcidssrefs.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-srgmap-flat.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-srgmap.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-stig-testinfo.html
/usr/share/doc/scap-security-guide/tables/table-rhel8-stig.html

References

Summary

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