How To Install openvas-manager on Ubuntu 18.04

In this tutorial we learn how to install openvas-manager on Ubuntu 18.04. openvas-manager is Manager Module of OpenVAS

Introduction

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

What is openvas-manager

openvas-manager is:

The OpenVAS-Manager is a layer between OpenVAS-Scanner and various client applications such as OpenVAS-Client or Greenbone Security Assistant. Among other features, it adds server-side storage of scan results and it makes it unnecessary for scan clients to keep connection until a scan finishes.

There are three methods to install openvas-manager on Ubuntu 18.04. 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-manager 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-manager using apt-get by running the following command:

sudo apt-get -y install openvas-manager

Install openvas-manager Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openvas-manager

Install openvas-manager 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-manager using aptitude by running the following command:

sudo aptitude -y install openvas-manager

How To Uninstall openvas-manager on Ubuntu 18.04

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

sudo apt-get remove openvas-manager

Uninstall openvas-manager And Its Dependencies

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

sudo apt-get -y autoremove openvas-manager

Remove openvas-manager Configurations and Data

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

sudo apt-get -y purge openvas-manager

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

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

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

References

Summary

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