discover command not found

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

Introduction

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

discover: command not found

or when using sudo you get the following error message

sudo: discover: command not found

Solutions to discover: command not found

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

In Ubuntu discover is provided by discover package.

discover is:

Discover is a hardware identification system based on the libdiscover2 library. Discover provides a flexible interface that programs can use to report a wide range of information about the hardware that is installed on a Linux system. In addition to reporting information, Discover includes support for doing hardware detection at boot time.

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

sudo apt-get -y install discover

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

You can also use apt command to install discover.

sudo apt -y install discover

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

sudo aptitude install discover

Summary

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