dh_autotools-dev_updateconfig command not found

In this troubleshooting guide we learn how to fix dh_autotools-dev_updateconfig command not found error message

Introduction

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

dh_autotools-dev_updateconfig: command not found

or when using sudo you get the following error message

sudo: dh_autotools-dev_updateconfig: command not found

Solutions to dh_autotools-dev_updateconfig: command not found

How To Fix dh_autotools-dev_updateconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dh_autotools-dev_updateconfig is provided by autotools-dev package.

autotools-dev is:

This package installs an up-to-date version of config.guess and config.sub, used by the automake and libtool packages. It provides the canonical copy of those files for other packages as well.

It also documents in /usr/share/doc/autotools-dev/README.Debian.gz best practices and guidelines for using autoconf, automake and friends on Debian packages. This is a must-read for any developers packaging software that uses the GNU autotools, or GNU gettext.

Additionally this package provides seamless integration into Debhelper or CDBS, allowing maintainers to easily update config.{guess,sub} files in their packages.

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

sudo apt-get -y install autotools-dev

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

You can also use apt command to install autotools-dev.

sudo apt -y install autotools-dev

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

sudo aptitude install autotools-dev

Summary

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