How To Install scap-workbench on CentOS 8

scap-workbench is Scanning, tailoring, editing and validation tool for SCAP content

Introduction

In this tutorial we learn how to install scap-workbench on CentOS 8.

What is scap-workbench

scap-workbench is GUI tool that provides scanning functionality for SCAP content. The tool is based on OpenSCAP library.

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

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

sudo dnf -y install scap-workbench

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

sudo yum -y install scap-workbench

How To Uninstall scap-workbench on CentOS 8

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

sudo dnf remove scap-workbench

scap-workbench Package Contents on CentOS 8

/usr/bin/scap-workbench
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/1b104d13c64db2870d7c784c65fdbd1c4e8f9d
/usr/libexec/scap-workbench-oscap.sh
/usr/libexec/scap-workbench-pkexec-oscap.sh
/usr/libexec/scap-workbench-rpm-extract.sh
/usr/share/appdata/scap-workbench.appdata.xml
/usr/share/applications/scap-workbench.desktop
/usr/share/doc/scap-workbench/COPYING
/usr/share/doc/scap-workbench/README.md
/usr/share/doc/scap-workbench/user_manual.html
/usr/share/man/man8/scap-workbench.8.gz
/usr/share/pixmaps/scap-workbench.png
/usr/share/pixmaps/scap-workbench.svg
/usr/share/polkit-1/actions/scap-workbench-oscap.policy
/usr/share/scap-workbench/benchmark.png
/usr/share/scap-workbench/collapsed-arrow.png
/usr/share/scap-workbench/edit-redo.png
/usr/share/scap-workbench/edit-undo.png
/usr/share/scap-workbench/expanded-arrow.png
/usr/share/scap-workbench/group.png
/usr/share/scap-workbench/profile.png
/usr/share/scap-workbench/rule.png
/usr/share/scap-workbench/ssg_logo.png
/usr/share/scap-workbench/translations/README
/usr/share/scap-workbench/value.png

References

Summary

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