gnome-autogen.sh command not found

In this troubleshooting guide we learn how to fix gnome-autogen.sh command not found error message

Introduction

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

gnome-autogen.sh: command not found

or when using sudo you get the following error message

sudo: gnome-autogen.sh: command not found

Solutions to gnome-autogen.sh: command not found

How To Fix gnome-autogen.sh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gnome-autogen.sh is provided by gnome-common package.

gnome-common is:

gnome-common is an extension to autoconf, automake and libtool for the GNOME environment and GNOME using applications. Included are gnome-autogen.sh and several macros to help in GNOME source trees.

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

sudo apt-get -y install gnome-common

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

You can also use apt command to install gnome-common.

sudo apt -y install gnome-common

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

sudo aptitude install gnome-common

Summary

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