How To Install id3lib on CentOS 8

id3lib is Library for manipulating ID3v1 and ID3v2 tags

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install id3lib.

Install id3lib on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install id3lib

Install id3lib on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install id3lib

How To Uninstall id3lib on CentOS 8

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

sudo dnf remove id3lib

id3lib Package Contents on CentOS 8

/usr/bin/id3convert
/usr/bin/id3cp
/usr/bin/id3info
/usr/bin/id3tag
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/b4a17fc5112e348f58d8b869d72412d99b29df
/usr/lib/.build-id/42
/usr/lib/.build-id/42/57862cbbeb29895723fe460490a5f7d458c2b3
/usr/lib/.build-id/56
/usr/lib/.build-id/56/1214e0ef5e26b659170c91248bd2d640f7bccb
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/06bbc19dc0306306b9e5a1b9bda837745943c4
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/538277a773af59bf16e6ed927fa674d60a7eaa
/usr/lib64/libid3-3.8.so.3
/usr/lib64/libid3-3.8.so.3.0.0
/usr/share/doc/id3lib
/usr/share/doc/id3lib/AUTHORS
/usr/share/doc/id3lib/ChangeLog
/usr/share/doc/id3lib/HISTORY
/usr/share/doc/id3lib/NEWS
/usr/share/doc/id3lib/README
/usr/share/doc/id3lib/THANKS
/usr/share/doc/id3lib/TODO
/usr/share/doc/id3lib/doc
/usr/share/doc/id3lib/doc/3d-logo.gif
/usr/share/doc/id3lib/doc/attilas_id3logo.jpg
/usr/share/doc/id3lib/doc/fillpx.gif
/usr/share/doc/id3lib/doc/id3guide.html
/usr/share/doc/id3lib/doc/id3lib.css
/usr/share/doc/id3lib/doc/id3v2.3.0.html
/usr/share/doc/id3lib/doc/id3v2.3.0.txt
/usr/share/doc/id3lib/doc/id3v2.gif
/usr/share/doc/id3lib/doc/id3v2.ico
/usr/share/doc/id3lib/doc/id3v2.png
/usr/share/doc/id3lib/doc/index.html
/usr/share/doc/id3lib/doc/musicmatch.txt
/usr/share/licenses/id3lib
/usr/share/licenses/id3lib/COPYING
/usr/share/man/man1/id3convert.1.gz
/usr/share/man/man1/id3cp.1.gz
/usr/share/man/man1/id3info.1.gz
/usr/share/man/man1/id3tag.1.gz

References

Summary

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