ipdiscover command not found

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

Introduction

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

ipdiscover: command not found

or when using sudo you get the following error message

sudo: ipdiscover: command not found

Solutions to ipdiscover: command not found

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

In Ubuntu ipdiscover is provided by ocsinventory-agent package.

ocsinventory-agent is:

Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator to keep track of the hardware and software configurations of computers that are installed on the network. It also allows deploying software, scripts and files on client computers.

This package contains the client part.

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

sudo apt-get -y install ocsinventory-agent

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

You can also use apt command to install ocsinventory-agent.

sudo apt -y install ocsinventory-agent

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

sudo aptitude install ocsinventory-agent

Summary

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