How To Install mpg123 on Fedora 36

In this tutorial we learn how to install mpg123 in Fedora 36. mpg123 is Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3

Introduction

In this tutorial we learn how to install mpg123 on Fedora 36.

What is mpg123

Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (most commonly MPEG 1.0 layer 3 aka MP3), as well as re-usable decoding and output libraries.

We can use yum or dnf to install mpg123 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mpg123.

Install mpg123 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mpg123

Install mpg123 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mpg123

How To Uninstall mpg123 on Fedora 36

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

sudo dnf remove mpg123

mpg123 Package Contents on Fedora 36

/usr/bin/mpg123
/usr/bin/mpg123-id3dump
/usr/bin/mpg123-strip
/usr/bin/out123
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/818191967d0b3c390b33281bf91802cc341c99
/usr/lib/.build-id/43
/usr/lib/.build-id/43/a27b738bf05bd7c61b7009163c17841377bd93
/usr/lib/.build-id/84
/usr/lib/.build-id/84/575ca1914aba89228a45fcfab5187cbe2c14a6
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/05da0ee965f11e245c4bc440f82ea08e38b8f1
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/f85a2a3a6ce880dd1a6c72793fdb07bf89d65a
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/6e6fb29eabb1c4fa1bb14bc42aea7123b08ded
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/7128073cfba1f3d634954871879cc43812414e
/usr/lib64/mpg123
/usr/lib64/mpg123/output_alsa.so
/usr/lib64/mpg123/output_dummy.so
/usr/lib64/mpg123/output_oss.so
/usr/share/doc/mpg123
/usr/share/doc/mpg123/README.remote
/usr/share/man/man1/mpg123.1.gz
/usr/share/man/man1/out123.1.gz

References

Summary

In this tutorial we learn how to install mpg123 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).