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

last updated in Categories Howto, Linux desktop, RedHat/Fedora Linux, Tips

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:
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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.


5 comment

  1. 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!!

  2. Tanuj,

    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

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

Leave a Comment