Howto: Playing MP3s under Fedora core or Red Hat Linux Desktop system

Q. Quick question How can I play MP3 files under Red Hat Fedora Linux.

A. Because of Licensing issue all Red hat based distributions like Fedora, Red hat enterprise workstation and other distro such as CentOS doest not ship MP3 and DVD players. In order to enable them you need to use yum to install them or rpm command to install them. But where you can find out rpms? The best place to get all xmms rpm is to visit Dan site. It has all xmms packages since Red hat version 7 to latest RHEL 4.0 and fedora core versions. Use ypm which is an update-tool written in python for RedHat based distributions. You can configure it as follows:

(1) Login as root user or use su command.

(2) Open /etc/yum.conf
# vi /etc/yum.conf

Append following line of text (mms) to yum.conf file:
[dag] name=Dag RPM Repository for Fedora Core

(3) Install dag’s GPG signature key with rpm command:
# rpm --import

(4) Upgrade your system by typing following command:
# yum update

Please note that you can add any new software by typing following command syntax:
yum install

(5) Install or upgrade xmms use the following command:
# yum install xmms-mp3

(6) Open terminal and start xmms
$ xmms &

(7) Additionally you may need to install xine (DVD player) as follows
# yum install xine

And you are done. Online references:

  • Please see Dag’s site FAQ for more information on how to enable MP3 support for RHEL or download all xmms rpm files.
  • XMMS home page to download additional skins and plugins

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
5 comments… add one
  • tanaya vaidya Dec 11, 2005 @ 4:23

    Thank you very much! I can play mp3


  • Tanuj Jain Jun 1, 2007 @ 10:51

    I have installed Fedora cORE 6 aND I’m not able to play mp3 files .I have also installed xmms but due to licencing problem I’m unable to play them.Kindly HELP!!

  • 🐧 nixCraft Jun 1, 2007 @ 21:21


    You need to install mp3 plugins, just type the following commands:
    ADD FILES aka repo:
    rpm -ihv
    rpm --import

    ADD MP3 support:
    yum install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tag
    ADD DVD Support:
    yum install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcs
    yum install videolan-client

  • jon Jul 23, 2007 @ 7:36

    plz help me to installing mp3 player i am trying to insatll on it but wont work asking for codecs and decoders but when i am trying to install that aslo give errors like error no 12 2 kind of thing
    i am currntly using Fedora core 6
    can anybody help me? Please

  • Frank D. May 31, 2008 @ 22:11

    Hi, thank you for the very helpful steps for F.C. 9. there is a typo in step 3 above. the /rpm is missing. So it should be:


Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum