mm-common-prepare command not found

In this troubleshooting guide we learn how to fix mm-common-prepare command not found error message

Introduction

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

mm-common-prepare: command not found

or when using sudo you get the following error message

sudo: mm-common-prepare: command not found

Solutions to mm-common-prepare: command not found

How To Fix mm-common-prepare: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mm-common-prepare is provided by mm-common package.

mm-common is:

The mm-common module provides the build infrastructure and utilities shared among the GNOME C++ binding libraries. It is only a required dependency for building the C++ bindings from the gnome.org version control repository. An installation of mm-common is not required for building tarball releases, unless configured to use maintainer-mode.

The mm-common package also includes a snapshot of the Doxygen tag file for the GNU C++ Library reference documentation.

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

sudo apt-get -y install mm-common

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

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

sudo apt -y install mm-common

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

sudo aptitude install mm-common

Summary

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