posted by Niall C. Brady on Tue 25th Mar 2003 16:51 UTC

"Getting More Out of Red Hat 9, Part II"
Adding MP3 functionality to XMMS.

The next thing I tried to do was to add MP3 playback functionality back to XMMS. In Red Hat 8.0 and now Red Hat 9 by default when you try to play an MP3 file in Xmms you get the following error:-

'Due to patent licensing, and conflicts between such patent licenses and the licenses of application source code, MPEG-1/2 audio layer 3 (mp3) support has been removed from this application by Red Hat, Inc. We apologize for the inconvenience.'

To add this functionality back simply go to Guru Labs download page and scroll down to the XMMS MP3 plug-in for Red Hat 8.0 and download this.

Once done, open an xterm and do as follows:

su - root [press enter]
rpm -ivh xmms-mp3-1.2.7-13.p.i386.rpm [press enter]
If all goes well and the rpm process looks like this:
Preparing...########################################### [100%] 1:xmms-mp3 ########################################### [100%]
Then all should be ok. Startup XMMS and now you can play mp3s.

Installing Xine to get DVD/avi/mpg playback/viewing functionality.

Getting Xine to work was more troublesome and I had help from a Linux guru (thanks Martin) to assist me with this. We need a few components so I'll list and link them all here. Click on each link in turn, download the rpm's and we'll install them after you have the files.

Alsa-lib
aalib
libfame
flac
xvidcore
xine-libs
xine

Note: New URL for the libraries above: ftp://ftp.freshrpms.net/pub/freshrpms/redhat/9/

Once you have download all of these rpms, open an x-terminal and cd to where they are.

su - root [press enter]
rpm -ivh alsa-lib-0.9.2-fr1.i386.rpm
rpm -ivh aalib-1.4rc5-fr1.i386.rpm
rpm -ivh libfame-0.9.0-fr1.i386.rpm
rpm -ivh flac-1.1.0-fr1.i386.rpm
rpm -ivh xvidcore-0.9.0-fr3.i386.rpm
rpm -ivh xine-lib-1.0.0-fr0.beta8.2.i386.rpm
rpm -ivh xine-0.9.19-fr1.i386.rpm

Once done, click on the Red Hat start button, click 'Run Program...', type 'xine' and then click 'Run'. If you want to have a nice Xine icon added to your gnome menu then get this and as su (superuser) do

rpm -ivh gxine-0.3.1-fr1.i386.rpm

Configuring Mozilla 1.2.1

This was my most frustrating area in Red Hat 9 as browsing the Internet is so important and such an everyday task. I attempted to install the Sun JVM plug-in (as root) and while it did install just fine, when i logged in locally, there was no mention in 'plug-ins' of my recently installed plug-in even though it was listed very clearly in Mozilla whilst logged in as root. I had the same experience with installing the Shockwave Flash plug-in and along with that, I found it (Mozilla 1.2.1) hanging on a fresh install when just viewing the preferences. Not good.

After a few nights of frustration trying to fix it (and I'm no Linux guru by any means) I gave up and installed Mozilla 1.31.

Once I had installed the latest version of Mozilla, all my plug-in woes immediately disappeared and things were running smoothly, so to be brief, if you are struggling with Mozilla 1.2.1 then don't bother, just upgrade to the latest version and installing plug-ins for it will work just as easily as it did with the Red Hat 8 release.

Table of contents
  1. "Installing Red Hat 9"
  2. "The Default Install - What is it Like"
  3. "The Default Install - Part II"
  4. "Getting More Out of Red Hat Linux 9"
  5. "Getting More Out of Red Hat 9, Part II"
  6. "Should I Upgrade to Red Hat 9?"
e p (0)    177 Comment(s)

Technology White Papers

See More