How To Install libtagc0-dev on Ubuntu 18.04

In this tutorial we learn how to install libtagc0-dev on Ubuntu 18.04. libtagc0-dev is audio meta-data library - development files for C bindings

Introduction

In this tutorial we learn how to install libtagc0-dev on Ubuntu 18.04.

What is libtagc0-dev

libtagc0-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 (C bindings).

There are three methods to install libtagc0-dev 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 libtagc0-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 libtagc0-dev using apt-get by running the following command:

sudo apt-get -y install libtagc0-dev

Install libtagc0-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtagc0-dev

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

sudo aptitude -y install libtagc0-dev

How To Uninstall libtagc0-dev on Ubuntu 18.04

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

sudo apt-get remove libtagc0-dev

Uninstall libtagc0-dev And Its Dependencies

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

sudo apt-get -y autoremove libtagc0-dev

Remove libtagc0-dev Configurations and Data

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

sudo apt-get -y purge libtagc0-dev

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

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

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

References

Summary

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