pmidi command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pmidi: command not found
or when using sudo you get the following error message
sudo: pmidi: command not found
Solutions to pmidi: command not found
How To Fix pmidi: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pmidi is provided by pmidi package.
pmidi is:
ALSA is an effort to create a modules sound system for Linux, while maintaining full compatibility with OSS/Lite.
This program works with latest ALSA 1.0 drivers and former 0.9 versions.
This is a straightforward command line program to play midi files through the ALSA sequencer.
As you can specify the client and port to connect to on the command line it is also useful for testing ALSA or clients that need to receive sequencer events.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pmidi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pmidi.
sudo apt -y install pmidi
Or if you have aptitude installed you can use the following command.
sudo aptitude install pmidi
Summary
In this tutorial we learn how to fix pmidi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.