How To Install mpg123 on CentOS 8
Introduction
In this tutorial we learn how to install mpg123
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install mpg123.
Install mpg123 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the mpg123
package we can use the following command:
sudo dnf remove mpg123
mpg123 Package Contents on CentOS 8
/usr/bin/mpg123
/usr/bin/mpg123-id3dump
/usr/bin/mpg123-strip
/usr/bin/out123
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/7691ad354f4d8f1affad2ac3752767cc6340c3
/usr/lib/.build-id/33
/usr/lib/.build-id/33/1d946c1e3860eff19971aa047e01f269bade40
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/75f75d2499720e80635e42bcb4be66ac56e9b9
/usr/lib/.build-id/94
/usr/lib/.build-id/94/f691ba3f4c2da94b2e0a07c3704f82e16435cd
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/69a2cf175cca49e8f0b5f717d49ffd3f74e960
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/66c128d1123714b3c1d473d1efa0c62334d174
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/b3071bec5dddf00711cf5ad2a16d9cc20d3004
/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 CentOS 8 using yum and dnf.