comedi_config command not found

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

Introduction

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

comedi_config: command not found

or when using sudo you get the following error message

sudo: comedi_config: command not found

Solutions to comedi_config: command not found

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

In Ubuntu comedi_config is provided by libcomedi0 package.

libcomedi0 is:

Comedilib is a library for using Comedi, a driver interface for data acquisition hardware. Comedi supports a wide variety of ISA and PCI devices that contain analog-to-digital converters, digital-to-analog converters, digital input/output, counters and timers. The full list of support devices can be found in the libcomedi-dev documentation.

This package contains the shared library component of Comedilib. In general, this package will be automatically installed as a dependency of application or other library packages.

In order to effectively use this package, you need to have compiled and installed the Comedi kernel modules. The source for Comedi is available in the comedi-source package, which also contains instructions on how to compile and install the modules.

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

sudo apt-get -y install libcomedi0

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

You can also use apt command to install libcomedi0.

sudo apt -y install libcomedi0

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

sudo aptitude install libcomedi0

Summary

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