You can use Automatix with Ubuntu to install/setup just about everything.
http://www.ubuntuforums.org/showthread.php?t=80295
1) Installs multimedia codecs
2) Installs all Firefox plugins (java, flash, etc) (except Adobe reader and mplayer)
3) Installs RAR, ACE and UNRAR archive support...