How To Install libmad on Rocky Linux 8
Introduction
In this tutorial we learn how to install libmad
on Rocky Linux 8.
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmad.
Install libmad 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 libmad
using dnf
by running the following command:
sudo dnf -y install libmad
Install libmad 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 libmad
using yum
by running the following command:
sudo yum -y install libmad
How To Uninstall libmad on Rocky Linux 8
To uninstall only the libmad
package we can use the following command:
sudo dnf remove libmad
libmad Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/78db13fd0016fdc9426e622795b37248fe7cfa
/usr/lib/libmad.so.0
/usr/lib/libmad.so.0.2.1
/usr/share/doc/libmad
/usr/share/doc/libmad/CHANGES
/usr/share/doc/libmad/CREDITS
/usr/share/doc/libmad/README
/usr/share/doc/libmad/TODO
/usr/share/licenses/libmad
/usr/share/licenses/libmad/COPYING
/usr/share/licenses/libmad/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/db
/usr/lib/.build-id/db/3933c9e7b266259a8b5fe796bbe784d71f0fd2
/usr/lib64/libmad.so.0
/usr/lib64/libmad.so.0.2.1
/usr/share/doc/libmad
/usr/share/doc/libmad/CHANGES
/usr/share/doc/libmad/CREDITS
/usr/share/doc/libmad/README
/usr/share/doc/libmad/TODO
/usr/share/licenses/libmad
/usr/share/licenses/libmad/COPYING
/usr/share/licenses/libmad/COPYRIGHT
References
Summary
In this tutorial we learn how to install libmad
on Rocky Linux 8 using yum and dnf.