One of more frustrating aspects of some modern Linux distributions is that they do not ship with mp3 support rolled in. This is, by design, done because of licensing issues. And granted using the ogg format is a much better solution in the end (as well as a much better sounding format) but for those of us who have massive amounts of mp3 files already located on multiple hard drives converting to ogg format would be a very time consuming option. To that end it is nice to be able to have mp3 support native on your machine.
Fortunately that is not difficult. And even more fotunate, here are the instructions.
The first thing you need to is close out all applications that might want to make use of an mp3 file. This could include Ryhthmbox, Amarok, Banshee, or xmms. Now open a terminal window because you are going to be issuing some commands in a moment. Once the terminal window is open you will first need to su to root. With root privileges it is time to get down to business.
The first set of commands to run will install the necessary repositories for yum to use. First issue:
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Once that command completes issue:
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rmpfusion-nonfree-release-stable.noarch.rpm
Now it's time to install the actual plugins for support. Issue the command:
yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-nonfree
Now your system will allow mp3 playback in the major players. But there is still no xmms. To install xmms with mp3 support issue the following command:
yum install xmms xmms-mp3
Once this is finished your machine is all ready for full-blown mp3 playback in just about every type of application.
Yes it's true it would be nice if the major Linux distributions could ship with mp3 support built in. But that is not the case due to licensing. Fortunately getting this working is as simple as a few commands.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.