autogen command not found

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

Introduction

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

autogen: command not found

or when using sudo you get the following error message

sudo: autogen: command not found

Solutions to autogen: command not found

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

In Ubuntu autogen is provided by autogen package.

autogen is:

AutoGen is a tool designed for generating program files that contain repetitive text with varied substitutions. This is especially valuable if there are several blocks of such text that must be kept synchronized.

Included with AutoGen is a tool that virtually eliminates the hassle of processing options, keeping usage text up to date and so on. This tool allows you to specify several program attributes, innumerable options and option attributes, then it produces all the code necessary to parse and handle the command line and initialization file options.

This package contains the development tools. libopts25-dev contains the static libraries and header files. libopts25 contains the shared libraries. autogen-doc contains the PostScript and HTML documentation.

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

sudo apt-get -y install autogen

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

You can also use apt command to install autogen.

sudo apt -y install autogen

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

sudo aptitude install autogen

Summary

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