How To Install mma on Ubuntu 22.04

In this tutorial we learn how to install mma on Ubuntu 22.04. mma is Musical MIDI Accompaniment Generator

Introduction

In this tutorial we learn how to install mma on Ubuntu 22.04.

What is mma

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.

There are three methods to install mma on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mma Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mma using apt-get by running the following command:

sudo apt-get -y install mma

Install mma Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mma using apt by running the following command:

sudo apt -y install mma

Install mma Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mma using aptitude by running the following command:

sudo aptitude -y install mma

How To Uninstall mma on Ubuntu 22.04

To uninstall only the mma package we can use the following command:

sudo apt-get remove mma

Uninstall mma And Its Dependencies

To uninstall mma and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove mma

Remove mma Configurations and Data

To remove mma configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge mma

Remove mma configuration, data, and all of its dependencies

We can use the following command to remove mma configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mma

References

Summary

In this tutorial we learn how to install mma package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.