m2o command not found

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

Introduction

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

m2o: command not found

or when using sudo you get the following error message

sudo: m2o: command not found

Solutions to m2o: command not found

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

In Ubuntu m2o is provided by osmid package.

osmid is:

osmid aims to provide a lightweight, portable, easy to use tool to convert MIDI to OSC and OSC to MIDI. It is the software handling the communication with MIDI devices in Sonic Pi. osmid is divided in 2 tools:

  • m2o: MIDI to OSC conversion
  • o2m: OSC to MIDI conversion

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

sudo apt-get -y install osmid

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

You can also use apt command to install osmid.

sudo apt -y install osmid

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

sudo aptitude install osmid

Summary

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