How To Install libmad on CentOS 7
Introduction
In this tutorial we learn how to install libmad
on CentOS 7.
What is libmad
MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 and the MPEG-2 extension to Lower Sampling Frequencies, as well as the so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, and Layer III a.k.a. MP3) are fully implemented.
We can use yum
or dnf
to install libmad
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libmad.
Install libmad on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libmad
using yum
by running the following command:
Install libmad 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.
After updating yum database, We can install libmad
using dnf
by running the following command:
How To Uninstall libmad on CentOS 7
To uninstall only the libmad
package we can use the following command:
References
Summary
In this tutorial we learn how to install libmad
on CentOS 7 using yum
and dnf
.