taglib-config command not found

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

Introduction

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

taglib-config: command not found

or when using sudo you get the following error message

sudo: taglib-config: command not found

Solutions to taglib-config: command not found

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

In Ubuntu taglib-config is provided by libtag1-dev package.

libtag1-dev is:

TagLib is a library for reading and editing audio meta data, commonly know as tags.

  • A clean, high level, C++ API to handling audio meta data.
  • Format specific APIs for advanced API users.
  • ID3v1, ID3v2, APE, FLAC, Xiph, iTunes-style MP4 and WMA tag formats.
  • MP3, MPC, FLAC, MP4, ASF, AIFF, WAV, TrueAudio, WavPack, Ogg FLAC, Ogg Vorbis, Speex and Opus file formats.
  • Basic audio file properties such as length, sample rate, etc.
  • Long term binary and source compatibility.
  • Extensible design, notably the ability to add other formats or extend
  • current formats as a library user.
  • Full support for unicode and internationalized tags.
  • Dual MPL and LGPL licenses.
  • No external toolkit dependencies.

This is the development package which contains headers for the TagLib Audio Meta-Data Library.

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

sudo apt-get -y install libtag1-dev

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

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

sudo apt -y install libtag1-dev

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

sudo aptitude install libtag1-dev

Summary

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