How To Install libdrumstick-dev on Ubuntu 22.04

In this tutorial we learn how to install libdrumstick-dev on Ubuntu 22.04. libdrumstick-dev is Qt5/C++ wrapper for ALSA Sequencer (development files)

Introduction

In this tutorial we learn how to install libdrumstick-dev on Ubuntu 22.04.

What is libdrumstick-dev

libdrumstick-dev 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 the development files.

There are three methods to install libdrumstick-dev on Ubuntu 22.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 libdrumstick-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdrumstick-dev

Install libdrumstick-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdrumstick-dev

Install libdrumstick-dev 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 libdrumstick-dev using aptitude by running the following command:

sudo aptitude -y install libdrumstick-dev

How To Uninstall libdrumstick-dev on Ubuntu 22.04

To uninstall only the libdrumstick-dev package we can use the following command:

sudo apt-get remove libdrumstick-dev

Uninstall libdrumstick-dev And Its Dependencies

To uninstall libdrumstick-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libdrumstick-dev

Remove libdrumstick-dev Configurations and Data

To remove libdrumstick-dev configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libdrumstick-dev

Remove libdrumstick-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdrumstick-dev

References

Summary

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