How To Install notus-scanner on Debian 12
Introduction
In this tutorial we learn how to install notus-scanner on Debian 12.
What is notus-scanner
notus-scanner is:
Notus Scanner detects vulnerable products in a system environment. The scanning method is to evaluate internal system information. It does this very fast and even detects currently inactive products because it does not need to interact with each of the products.
To report about vulnerabilities, Notus Scanner receives collected system information on the one hand and accesses the vulnerability information from the feed service on the other. Both input elements are in table form: the system information is specific to each environment and the vulnerability information is specific to each system type.
This is a component of the Greenbone Vulnerability Management framework.
There are three methods to install notus-scanner on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install notus-scanner Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install notus-scanner using apt-get by running the following command:
sudo apt-get -y install notus-scanner
Install notus-scanner Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install notus-scanner using apt by running the following command:
sudo apt -y install notus-scanner
Install notus-scanner 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 notus-scanner using aptitude by running the following command:
sudo aptitude -y install notus-scanner
How To Uninstall notus-scanner on Debian 12
To uninstall only the notus-scanner package we can use the following command:
sudo apt-get remove notus-scanner
Uninstall notus-scanner And Its Dependencies
To uninstall notus-scanner and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove notus-scanner
Remove notus-scanner Configurations and Data
To remove notus-scanner configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge notus-scanner
Remove notus-scanner configuration, data, and all of its dependencies
We can use the following command to remove notus-scanner configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge notus-scanner
Dependencies
notus-scanner have the following dependencies:
References
Summary
In this tutorial we learn how to install notus-scanner package on Debian 12 using different package management tools: apt, apt-get and aptitude.