drumstick-metronome command not found

In this troubleshooting guide we learn how to fix drumstick-metronome command not found error message

Introduction

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

drumstick-metronome: command not found

or when using sudo you get the following error message

sudo: drumstick-metronome: command not found

Solutions to drumstick-metronome: command not found

How To Fix drumstick-metronome: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu drumstick-metronome is provided by drumstick-tools package.

drumstick-tools is:

This library is a C++ wrapper around the ALSA library sequencer interface, using Qt5 objects, idioms and style. ALSA sequencer provides software support for MIDI technology on Linux. Complementary classes for RMI and WRK file processing are also included.

This package provides utilities shipped with the library:

  • drumstick-drumgrid: Simple Qt drum sequencer.
  • drumstick-dumpmid: Write ALSA MIDI events to STDOUT.
  • drumstick-dumprmi: Write MIDI events from a RIFF MIDI file to STDOUT.
  • drumstick-dumpsmf: Write MIDI events from a MIDI file to STDOUT.
  • drumstick-dumpwrk: Write MIDI events from a Cakewalk WRK file to STDOUT.
  • drumstick-guiplayer: Simple Qt MIDI file player.
  • drumstick-metronome: Headless MIDI metronome.
  • drumstick-playsmf: Headless MIDI file player.
  • drumstick-sysinfo: Display information about ALSA MIDI.
  • drumstick-vpiano: Virtual Piano Keyboard GUI application.

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

sudo apt-get -y install drumstick-tools

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

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

sudo apt -y install drumstick-tools

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

sudo aptitude install drumstick-tools

Summary

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