makedist command not found

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

Introduction

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

makedist: command not found

or when using sudo you get the following error message

sudo: makedist: command not found

Solutions to makedist: command not found

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

In Ubuntu makedist is provided by dist package.

dist is:

The dist package is a set of tools meant to ease the construction and maintenance of portable software.

The first component is the Configure script generator, metaconfig, which automatically builds the Configure script from your sources. Ideally, the end-user receiving your source code will simply have to read your README file, run the Configure script (which is self-documented), and then run make.

The second component is the Makefile.SH generator, which is a generic configured Makefile, reusing some of the information figured out by Configure, and a generic Jmakefile description.

The third component is the RCS aware package generator, which is used when it’s time to build up the shell archives used to distribute your program.

The fourth and latest component is the patch generator, used to make updates of your sources, which can later be applied on the original distribution by using the patch program.

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

sudo apt-get -y install dist

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

You can also use apt command to install dist.

sudo apt -y install dist

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

sudo aptitude install dist

Summary

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