bpm command not found

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

Introduction

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

bpm: command not found

or when using sudo you get the following error message

sudo: bpm: command not found

Solutions to bpm: command not found

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

In Ubuntu bpm is provided by bpm-tools package.

bpm-tools is:

The bpm-tools commands are used to automatically calculate the tempo (in beats-per-minute) of music, optionally displaying an analysis and adding it to file ’tags’. The data from these tags can be especially useful for navigating a music library in DJ software such as xwax(1).

The bpm command implements the algorithm on raw data, but the most commonly used command is bpm-tag to tag the file with the tempo in bpm. The bpm-graph command will produce a plot of the results of the autocorrelation.

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

sudo apt-get -y install bpm-tools

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

You can also use apt command to install bpm-tools.

sudo apt -y install bpm-tools

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

sudo aptitude install bpm-tools

Summary

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