How To Install mpg123 on Rocky Linux 8

In this tutorial we learn how to install mpg123 on Rocky Linux 8. 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 Rocky Linux 8.

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

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

sudo dnf -y install mpg123

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

sudo yum -y install mpg123

How To Uninstall mpg123 on Rocky Linux 8

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

sudo dnf remove mpg123

mpg123 Package Contents on Rocky Linux 8

/usr/bin/mpg123
/usr/bin/mpg123-id3dump
/usr/bin/mpg123-strip
/usr/bin/out123
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/89cb176e054318e0f5cec72da6a85cb3311234
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/9ca8847c56e3b05beaf2f289c6cdb60a357bf9
/usr/lib/.build-id/59
/usr/lib/.build-id/59/170e843e287b9b44e352a62af1f4eacd0f446e
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/a13a32b991feadced94d3f055fee89326a384e
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/de622947769c0e652c5c247c81b4ea70ffb794
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/8296b66ad379d4267a8a793d35cbeb2c8acaf8
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/dd149b9d6b61691965126bc3e03a45808e7f33
/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 Rocky Linux 8 using yum and dnf.