gvm-cli command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gvm-cli: command not found
or when using sudo you get the following error message
sudo: gvm-cli: command not found
Solutions to gvm-cli: command not found
How To Fix gvm-cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gvm-cli is provided by gvm-tools package.
gvm-tools is:
The Greenbone Vulnerability Management Tools or gvm-tools in short are a collection of tools that help with remote controlling a Greenbone Security Manager (GSM) appliance and its underlying Greenbone Vulnerability Manager (GVM). The tools essentially aid accessing the communication protocols GMP (Greenbone Management Protocol) and OSP (Open Scanner Protocol).
This module is comprised of interactive and non-interactive clients. The programming language Python is supported directly for interactive scripting. But it is also possible to issue remote GMP/OSP commands without programming in Python.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gvm-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gvm-tools.
sudo apt -y install gvm-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install gvm-tools
Summary
In this tutorial we learn how to fix gvm-cli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.