How To Install libmad on Fedora 34

libmad is MPEG audio decoder library MPEG audio decoder library

Introduction

In this tutorial we learn how to install libmad on Fedora 34.

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. libmad 0.15.1b 31.fc34 x86_64 86 k libmad-0.15.1b-31.fc34.src.rpm fedora MPEG audio decoder library http GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libmad.

Install libmad on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libmad

Install libmad on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libmad

libmad Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/213ace08bf73e7485f04f64256cf94eda968f1
/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
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/f5616c355f1688c774104d13fc61a8a0c18a6a
/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

References

Summary

In this tutorial we learn how to install libmad on Fedora 34 using yum and dnf.