Ubuntu Tutorial

How To Install openvas-scanner on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes  • 397 words

Introduction

In this tutorial we learn how to install openvas-scanner on Ubuntu.

What is openvas-scanner

openvas-scanner is:

The Open Vulnerability Assessment System is a modular security auditing tool, used for testing remote systems for vulnerabilities that should be fixed.

It is made up of two parts: a scan server, and a client. The scanner/daemon, openvassd, is in charge of the attacks, whereas the client, gvm-tools, provides an X11/GTK+ user interface.

This package provides the scanner.

There are three methods to install openvas-scanner on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install openvas-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 openvas-scanner using apt-get by running the following command:

sudo apt-get -y install openvas-scanner

Install openvas-scanner Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openvas-scanner using apt by running the following command:

sudo apt -y install openvas-scanner

Install openvas-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install openvas-scanner using aptitude by running the following command:

sudo aptitude -y install openvas-scanner

How To Uninstall openvas-scanner on Ubuntu

To uninstall only the openvas-scanner package we can use the following command:

sudo apt-get remove openvas-scanner

Uninstall openvas-scanner And Its Dependencies

To uninstall openvas-scanner and its dependencies that are no longer needed by Ubuntu, we can use the command below:

sudo apt-get -y autoremove openvas-scanner

Remove openvas-scanner Configurations and Data

To remove openvas-scanner configuration and data from Ubuntu we can use the following command:

sudo apt-get -y purge openvas-scanner

Remove openvas-scanner configuration, data, and all of its dependencies

We can use the following command to remove openvas-scanner configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openvas-scanner

Dependencies

openvas-scanner have the following dependencies:

References

Summary

In this tutorial we learn how to install openvas-scanner package on Ubuntu using different package management tools: apt, apt-get and aptitude.

Follow us

We provides various tutorials about Ubuntu