How To Install mpg123 on Fedora 34

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install mpg123.

Install mpg123 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 mpg123 using dnf by running the following command:

sudo dnf -y install mpg123

Install mpg123 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 mpg123 using yum by running the following command:

sudo yum -y install mpg123

How To Uninstall mpg123 on Fedora 34

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

sudo dnf remove mpg123

mpg123 Package Contents on Fedora 34

/usr/bin/mpg123
/usr/bin/mpg123-id3dump
/usr/bin/mpg123-strip
/usr/bin/out123
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/1f28cb71a2a8fa116eb872052aa5f3fd6b6d45
/usr/lib/.build-id/31
/usr/lib/.build-id/31/50c26207c352785826dedf839edbe5bfa4088f
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/99b4124836a5ccbefb10c7e5c65054db12fd49
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/55415f687103a90da51dd47c2377016c9b5cc8
/usr/lib/.build-id/a4/ad6900346cfbe5af5398afdb82d31aae36f7c5
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/a079d36c4a4ff1fc87c673c6b7cdadc881a2fc
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/1f255424ccae3f23ca470dac7bf3bde558cba4
/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 34 using yum and dnf.