dahdi_span_types command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dahdi_span_types: command not found
or when using sudo you get the following error message
sudo: dahdi_span_types: command not found
Solutions to dahdi_span_types: command not found
How To Fix dahdi_span_types: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dahdi_span_types is provided by dahdi package.
dahdi is:
DAHDI (formly Zaptel) is an interface for telephony devices used by e.g. the Asterisk PBX software. The dahdi-* packages provide the kernel DAHDI kernel modules and their required setup environment.
This package includes userspace utilities required to configure DAHDI modules.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dahdi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dahdi.
sudo apt -y install dahdi
Or if you have aptitude installed you can use the following command.
sudo aptitude install dahdi
Summary
In this tutorial we learn how to fix dahdi_span_types command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.