How To Install libtag1-doc on Ubuntu 18.04

In this tutorial we learn how to install libtag1-doc on Ubuntu 18.04. libtag1-doc is audio meta-data library - API documentation

Introduction

In this tutorial we learn how to install libtag1-doc on Ubuntu 18.04.

What is libtag1-doc

libtag1-doc 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 documentation package which contains API documentation for the TagLib Audio Meta-Data Library.

There are three methods to install libtag1-doc 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 libtag1-doc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libtag1-doc

Install libtag1-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtag1-doc

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

sudo aptitude -y install libtag1-doc

How To Uninstall libtag1-doc on Ubuntu 18.04

To uninstall only the libtag1-doc package we can use the following command:

sudo apt-get remove libtag1-doc

Uninstall libtag1-doc And Its Dependencies

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

sudo apt-get -y autoremove libtag1-doc

Remove libtag1-doc Configurations and Data

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

sudo apt-get -y purge libtag1-doc

Remove libtag1-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtag1-doc

References

Summary

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