dh_octave_check command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dh_octave_check: command not found
or when using sudo you get the following error message
sudo: dh_octave_check: command not found
Solutions to dh_octave_check: command not found
How To Fix dh_octave_check: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dh_octave_check is provided by dh-octave-autopkgtest package.
dh-octave-autopkgtest is:
This package contains the dh_octave_check script that runs the unit tests contained in all *.m and *.cc files available in the source tree from which it is launched. It is intended to be used by the support for Octave-Forge add-on packages, which is implemented in autodep8.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dh-octave-autopkgtest
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dh-octave-autopkgtest.
sudo apt -y install dh-octave-autopkgtest
Or if you have aptitude installed you can use the following command.
sudo aptitude install dh-octave-autopkgtest
Summary
In this tutorial we learn how to fix dh_octave_check command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.