How To Install libmikmod-dev on Debian 12

Learn how to install libmikmod-dev on Debian 12 with this tutorial. libmikmod-dev is Portable sound library - development files

Introduction

In this tutorial we learn how to install libmikmod-dev on Debian 12.

What is libmikmod-dev

libmikmod-dev is:

This library is capable of playing samples as well as module files and was originally written by Jean-Paul Mikkers (MikMak) for DOS. It has subsequently been hacked by many hands and now runs on many Unix flavours.

It supports OSS, ALSA, SDL and PulseAudio outputs, and can also write to disk in raw, WAV and AIFF formats.

Supported file formats include mod, stm, s3m, mtm, xm, and it.

This package contains the symlinks, headers, and object files needed to compile and link programs which use libmikmod.

There are three methods to install libmikmod-dev on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmikmod-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 libmikmod-dev using apt-get by running the following command:

sudo apt-get -y install libmikmod-dev

Install libmikmod-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmikmod-dev

Install libmikmod-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libmikmod-dev

How To Uninstall libmikmod-dev on Debian 12

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

sudo apt-get remove libmikmod-dev

Uninstall libmikmod-dev And Its Dependencies

To uninstall libmikmod-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libmikmod-dev

Remove libmikmod-dev Configurations and Data

To remove libmikmod-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libmikmod-dev

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

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

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

Dependencies

libmikmod-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libmikmod-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.