How To Install id3lib on CentOS 7

In this tutorial we learn how to install id3lib on CentOS 7. id3lib is Library for manipulating ID3v1 and ID3v2 tags

Introduction

In this tutorial we learn how to install id3lib on CentOS 7.

What is id3lib

This package provides a software library for manipulating ID3v1 and ID3v2 tags. It provides a convenient interface for software developers to include standards-compliant ID3v1/2 tagging capabilities in their applications. Features include identification of valid tags, automatic size conversions, (re)synchronisation of tag frames, seamless tag (de)compression, and optional padding facilities. Additionally, it can tell mp3 header info, like bitrate etc.

We can use yum or dnf to install id3lib on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install id3lib.

Install id3lib on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install id3lib using yum by running the following command:

sudo yum -y install id3lib

Install id3lib on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install id3lib using dnf by running the following command:

sudo dnf -y install id3lib

How To Uninstall id3lib on CentOS 7

To uninstall only the id3lib package we can use the following command:

sudo dnf remove id3lib

References

Summary

In this tutorial we learn how to install id3lib on CentOS 7 using yum and dnf.