How To Install libchromaprint-devel on Rocky Linux 8

In this tutorial we learn how to install libchromaprint-devel on Rocky Linux 8. libchromaprint-devel is Headers for developing programs that will use chromaprint

Introduction

In this tutorial we learn how to install libchromaprint-devel on Rocky Linux 8.

What is libchromaprint-devel

This package contains the headers that programmers will need to develop applications which will use chromaprint. The library exposes a simple C API. The documentation for the C API can be found in the main header file.

We can use yum or dnf to install libchromaprint-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libchromaprint-devel.

Install libchromaprint-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libchromaprint-devel

Install libchromaprint-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libchromaprint-devel using yum by running the following command:

sudo yum -y install libchromaprint-devel

How To Uninstall libchromaprint-devel on Rocky Linux 8

To uninstall only the libchromaprint-devel package we can use the following command:

sudo dnf remove libchromaprint-devel

libchromaprint-devel Package Contents on Rocky Linux 8

/usr/include/chromaprint.h
/usr/lib64/libchromaprint.so
/usr/lib64/pkgconfig/libchromaprint.pc

References

Summary

In this tutorial we learn how to install libchromaprint-devel on Rocky Linux 8 using yum and dnf.