After numerous attempts, here is a quick way to get sites like raaga.com to work in firefox running on linux.
  1. sudo apt-get install alsa-oss
  2. Download the linux player from www.real.com, the one that ends with .bin.
  3. chmod a+x Realplayer***.bin
  4. sudo Realplayer***.bin
    The above command will install realplay. You can specify the installation directory which defaults to the Desktop.
  5. sudo gedit Realplayer-Install-Directory/realplay
  6. modify $REALPLAYBIN "$@" to aoss $REALPLAYBIN "$@"
  7. restart firefox
  8. go to www.raaga.com and enjoy the music!!!