midicsv command not found

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

Introduction

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

midicsv: command not found

or when using sudo you get the following error message

sudo: midicsv: command not found

Solutions to midicsv: command not found

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

In Ubuntu midicsv is provided by midicsv package.

midicsv is:

Midicsv reads a standard MIDI file and decodes it into a CSV (Comma-Separated Value) file which preserves all the information in the MIDI file. The ASCII CSV file may be loaded into a spreadsheet or database application, or processed by a program to transform the MIDI data (for example, to key transpose a composition or extract a track from a multi-track sequence). A CSV file in the format created by midicsv may be converted back into a standard MIDI file with the csvmidi program.

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

sudo apt-get -y install midicsv

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

You can also use apt command to install midicsv.

sudo apt -y install midicsv

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

sudo aptitude install midicsv

Summary

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