How To Install scap-workbench on Debian 9
Introduction
In this tutorial we learn how to install scap-workbench
on Debian 9.
What is scap-workbench
scap-workbench is:
SCAP is a line of standards managed by NIST with the goal of providing a standard language for the expression of Computer Network Defense related information.
The main goal of this application is to lower the initial barrier of using SCAP. Therefore, the scope of very narrow - scap-workbench only scans a single machine and only with XCCDF/SDS (no direct OVAL evaluation). The assumption is that this is enough for users who want to scan a few machines and users with huge amount of machines to scan will just use scap-workbench to test or hand-tune their content before deploying it with more advanced (and harder to use) tools like spacewalk.
Feature highlights:
- XCCDF 1.1 and 1.2 support
- Source Data Stream 1.2 support
- XCCDF 1.2 Tailoring file support
- Evaluation of local machine
- Evaluation of remote machine (using ssh)
- Limited tailoring support - selection and unselection
- Saving results as XCCDF 1.1 or 1.2 (depending on input) or ARF 1.1
There are three methods to install scap-workbench
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install scap-workbench Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install scap-workbench
using apt-get
by running the following command:
sudo apt-get -y install scap-workbench
Install scap-workbench Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install scap-workbench
using apt
by running the following command:
sudo apt -y install scap-workbench
Install scap-workbench Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install scap-workbench
using aptitude
by running the following command:
sudo aptitude -y install scap-workbench
How To Uninstall scap-workbench on Debian 9
To uninstall only the scap-workbench
package we can use the following command:
sudo apt-get remove scap-workbench
Uninstall scap-workbench And Its Dependencies
To uninstall scap-workbench
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove scap-workbench
Remove scap-workbench Configurations and Data
To remove scap-workbench
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge scap-workbench
Remove scap-workbench configuration, data, and all of its dependencies
We can use the following command to remove scap-workbench
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge scap-workbench
Dependencies
scap-workbench have the following dependencies:
References
Summary
In this tutorial we learn how to install scap-workbench
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.