How To Install libopenvas-dev on Ubuntu 18.04

In this tutorial we learn how to install libopenvas-dev on Ubuntu 18.04. libopenvas-dev is remote network security auditor - static libraries and headers

Introduction

In this tutorial we learn how to install libopenvas-dev on Ubuntu 18.04.

What is libopenvas-dev

libopenvas-dev 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 server, and a client. The server/daemon, openvasd, is in charge of the attacks, whereas the client, OpenVAS-Client, provides an X11/GTK+ user interface.

This package contains the required static libraries, headers, and libopenvas-config script.

There are three methods to install libopenvas-dev 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 libopenvas-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libopenvas-dev using apt-get by running the following command:

sudo apt-get -y install libopenvas-dev

Install libopenvas-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libopenvas-dev

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

sudo aptitude -y install libopenvas-dev

How To Uninstall libopenvas-dev on Ubuntu 18.04

To uninstall only the libopenvas-dev package we can use the following command:

sudo apt-get remove libopenvas-dev

Uninstall libopenvas-dev And Its Dependencies

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

sudo apt-get -y autoremove libopenvas-dev

Remove libopenvas-dev Configurations and Data

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

sudo apt-get -y purge libopenvas-dev

Remove libopenvas-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libopenvas-dev

References

Summary

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