openvas command not found

In this troubleshooting guide we learn how to fix openvas command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

openvas: command not found

or when using sudo you get the following error message

sudo: openvas: command not found

Solutions to openvas: command not found

How To Fix openvas: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu openvas is provided by openvas-scanner package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install openvas-scanner

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install openvas-scanner.

sudo apt -y install openvas-scanner

Or if you have aptitude installed you can use the following command.

sudo aptitude install openvas-scanner

Summary

In this tutorial we learn how to fix openvas command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.