How To Install drumstick-tools on Ubuntu 18.04

In this tutorial we learn how to install drumstick-tools on Ubuntu 18.04. drumstick-tools is Qt4/C++ wrapper for ALSA Sequencer - utilities

Introduction

In this tutorial we learn how to install drumstick-tools on Ubuntu 18.04.

What is drumstick-tools

drumstick-tools is:

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

This package provides utilities shipped with the library:

  • drumstick-buildsmf: Standard MIDI File creation from scratch.
  • drumstick-dumpgrid: Simple Qt drum sequencer.
  • drumstick-dumpmid: Write ALSA MIDI events 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-timertest: Test performance of the ALSA timer.
  • drumstick-vpiano: Virtual Piano Keyboard GUI application.

There are three methods to install drumstick-tools on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install drumstick-tools Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install drumstick-tools using apt-get by running the following command:

sudo apt-get -y install drumstick-tools

Install drumstick-tools Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install drumstick-tools using apt by running the following command:

sudo apt -y install drumstick-tools

Install drumstick-tools Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install drumstick-tools using aptitude by running the following command:

sudo aptitude -y install drumstick-tools

How To Uninstall drumstick-tools on Ubuntu 18.04

To uninstall only the drumstick-tools package we can use the following command:

sudo apt-get remove drumstick-tools

Uninstall drumstick-tools And Its Dependencies

To uninstall drumstick-tools and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove drumstick-tools

Remove drumstick-tools Configurations and Data

To remove drumstick-tools configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge drumstick-tools

Remove drumstick-tools configuration, data, and all of its dependencies

We can use the following command to remove drumstick-tools configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge drumstick-tools

References

Summary

In this tutorial we learn how to install drumstick-tools package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.