pg2mma command not found

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

Introduction

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

pg2mma: command not found

or when using sudo you get the following error message

sudo: pg2mma: command not found

Solutions to pg2mma: command not found

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

In Ubuntu pg2mma is provided by mma package.

mma is:

“MMA—Musical MIDI Accompaniment” is an accompaniment generator. It creates MIDI tracks for a soloist to perform over from a user-supplied file containing chords and MMA directives.

MMA is very versatile and generates excellent tracks. It comes with an extensive user-extendable library with a variety of patterns for various popular rhythms, detailed user manuals, and several demo songs.

MMA is a command-line driven program. It creates MIDI files which are then played by a sequencer or MIDI file play program.

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

sudo apt-get -y install mma

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

You can also use apt command to install mma.

sudo apt -y install mma

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

sudo aptitude install mma

Summary

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