Geek.Like.Todd

CentOS 5.5 – Enabling MP3 Playback —

CentOS 5.5 is based on Red Hat Enterprise Linux Server Source RPM’s.. and is very much NOT a desktop system.. that being said it is more capable than Desktop Linux OS’s that were around when I started with Linux..

Even so.. like many Linux Distributions.. CentOS doesn’t include various software packages to playback MP3’s or Flash or Sun/Oracle Java, because these are all closed source things.  So.. First I’d like to give you a tutorial on how to install MP3 Support using the RPMForge Repositories.

This tutorial was made on a real machine.. my “beater” and not a VM like my previous Java post.

Step 1: Install yum-priorities

Those steps include installing “Yum Priorities” which allows you to have a package listed in 2 repositories and NOT have yum flip out.

sudo yum install yum-priorities

Step 2: Download the RPM File for the RPMForge repository.

http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm

Step 3: Import the key for the RPMForge repository

sudo rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Step 4: Install the RPMForge package

sudo rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm

Step 5: Update your Yum.
sudo yum check-update
you should also do a
sudo yum update
as this repository has some updated versions of the software you have already.

You now have RPMForge installed..

Step6: Install the Mp3 Codecs.

sudo yum -y install mplayerplug-in mplayer compat-libstdc++-33 gstreamer-plugins-bad gstreamer-plugins-ugly

You will see dependencies, just let em install.


0

Categorised as: CentOS | Geeking Out | Linux


7 Comments

  1. Alok says:

    Thanks for this excellent tip. I did not know about about the priorities plugin for yum. keep up the good work.

  2. Anuradha Fernando says:

    Hey this is working 100000% and after this workaround you can even install VLC by just typing

    yum install vlc

    • Imma says:

      I can’t say that it works because I have not tetsed it. I’m sure that you will be fine and I would attempt to install them. You can always downgrade if it presents a problem.

  3. Kostis says:

    Todd, you’re one wiiiiiiicked guy! Thanks to you I’ve turned my dev desktop to a multimedia enabled box. you’ve put an end to about 5 hours of knocking my head against the wall for choosing centsos 5.5 as my desktop env. Many thanks! If you had any google ads on your page I’d definitely click them and buy your sponsor’s product. Cheeeeeeers 🙂

  4. Kostis says:

    that should have been centos 5.5 actually… NOT *centsos* 😉
    just helping google help other 5.5 users…

  5. Todd says:

    Yeah trying to get anything cool on the desktop in CentOS 5 can be .. um a little frustrating, Google Chrome is an excellent example, if you want it on Cent you are outta luck 😀 CentOS makes a good stable Server OS for people who want binary compatibility with RHEL and thats really all, I’m personally a debian guy, but I do work for a company who uses Cent so it’s on my radar to support it. 😀

  6. Cumali says:

    This type of comparison isn’t very ufuesl. Red Hat is a commercial distribution. Distros like Ubuntu are not. This is the same mistake Mark Shuttleworth made when he originally made a blog post claiming that Ubuntu had overtaken Red Hat in server usage. This figure is lumping together enterprise-grade corporate websites and someone who wants to put their baby’s first Christmas pictures on the Internet for grandma and uses a free copy of Ubuntu to do it. When pressed, Shuttleworth admitted that the Ubuntu figures included non-paid versions and Red Hat issued a comment saying that there’s been no confirmation Canonical has ever had even one corporate paid-support customer. 🙂 As such, there’s no way from this single figure to conclude that Red Hat is dying (their financials say otherwise anyway). The pie (websites) may simply be growing larger. If Red Hat were to die, we’d lose a major source of innovation and financial support in the Linux community. Losing them or IBM or SUSE would seriously hurt the kernel, LibreOffice, etc. Losing Canonical, sadly, wouldn’t affect things at all since they give back barely anything to the community.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.