dh-make-elpa command not found

In this troubleshooting guide we learn how to fix dh-make-elpa command not found error message

Introduction

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

dh-make-elpa: command not found

or when using sudo you get the following error message

sudo: dh-make-elpa: command not found

Solutions to dh-make-elpa: command not found

How To Fix dh-make-elpa: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dh-make-elpa is provided by dh-make-elpa package.

dh-make-elpa is:

dh-make-elpa will try to create the files required to build a Debian source package from an unpacked GNU Emacs ELPA package. The source packages produced are suitable for building with the dh_elpa tool.

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

sudo apt-get -y install dh-make-elpa

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

You can also use apt command to install dh-make-elpa.

sudo apt -y install dh-make-elpa

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

sudo aptitude install dh-make-elpa

Summary

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