libmikmod-config command not found

In this troubleshooting guide we learn how to fix libmikmod-config command not found error message

Introduction

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

libmikmod-config: command not found

or when using sudo you get the following error message

sudo: libmikmod-config: command not found

Solutions to libmikmod-config: command not found

How To Fix libmikmod-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu libmikmod-config is provided by libmikmod-dev package.

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.

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

sudo apt-get -y install libmikmod-dev

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

You can also use apt command to install libmikmod-dev.

sudo apt -y install libmikmod-dev

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

sudo aptitude install libmikmod-dev

Summary

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