LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices

By lindylex at 2008-12-16 20:41
How to get Firefox 3/ All essential plugins to work like Windows/ Debian Lenny 64 Bit/ Will work on 32 bit also

Login as root
Code:
su
Update the system and change to directory “opt” and download Firefox 3

Code:
aptitude update
cd /opt
wget http://jp-nii02.mozilla.org/pub/mozilla.org/firefox/releases/3.0.5/linux-i686/en-US/firefox-3.0.5.tar.bz2
Uncompress Firefox 3
Code:
tar -xvjf  firefox-3.0.5.tar.bz2
Create a symbolic link to it, like a shortcut in Windows. This will place it in the OS path so you can launch Firefox from any where without having to reference the actual application.

Code:
cd /usr/bin/

ln -s  firefox3  /opt/firefox/firefox
Install Flash Plugin

Code:
aptitude install flashplayer-mozilla

cd /opt/firefox/plugins

ln -s libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
Lets test the Flash plugin. We need to start Firefox 3.

Code:
firefox3
Then go to the the following url “about:plugins” and you should see.

Shockwave Flash
File name: libflashplayer.so
Shockwave Flash 10.0 r12 .........

Go to the following url http://www.youtube.com/watch?v=S4J5m3KE2X0 and test the flash player.

Install Java runtime environment.

You need to go here https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site...

Under “Platform:” choose Linux not Linux 64

Download this version of Java runtime environment 6u10 not 6u11 currently the latest is broken in Firefox3. You should have this file “jre-6u10-linux-i586.bin”

Let make it executable. Go to where you downloaded it and execute the following command.
Code:
chmod a+x jre-6u10-linux-i586.bin
sh re-6u10-linux-i586.bin
Now we need to move the contents that have been extracted from the .bin
Create the following directory if it does not exist.
Code:
mkdir /usr/lib/jvm/
Move the “/jre1.6.0_10” directory from the .bin to that location. You end up with a directory structure like the following.
“/usr/lib/jvm/jre1.6.0_10/”

We need to make a symbolic link to the Java plugin. You should never copy the plugin from it's location only a symbolic link to it.
Code:
cd /opt/firefox/plugins
ln -s  libjavaplugin_oji.so  /usr/lib/jvm/jre1.6.0_10/plugin/i386/ns7/libjavaplugin_oji.so
Now you can test the Java plugin.
www.time.gov and check the time or try this dancing Java animation. http://www.java.com/en/download/help/testvm.xml?ff3

Install Real player plugin
Code:
cd  /opt

wget http://www.real.com/realcom/R?href=http://forms.real.com/real/player/dow...

chmod a+x RealPlayer11GOLD.bin

sh RealPlayer11GOLD.bin
Once this has extracted and you agreed to install and the license then it should install it's self to.
/opt/real/RealPlayer

We need to create a symbolic link to the plugin. This plugin should never be copied from its location into the Firefox plugins directory.

Code:
cd  /opt/firefox/plugins

ln -s nphelix.so  /opt/real/RealPlayer/mozilla/nphelix.so
ln -s nphelix.xpt  /opt/real/RealPlayer/mozilla/nphelix.xpt
I have no test for this since it searches for a file type that end with “rpm” I have never encountered such a stream.

Install QuickTime, RealPlayer and Windows Media Player
Code:
cd  /tmp

mkdir yourmama

cd yourmama

wget http://mirrors.kernel.org/debian/pool/main/m/mplayerplug-in/mozilla-mpla...

dpkg-deb -x  mozilla-mplayer_3.55-1.1_i386.deb /tmp/yourmama
Move the plugins to your Firefox plugins folder.

Code:
cp  /tmp/yourmama/usr/lib/mozilla/plugins/*.so  /opt/firefox/plugins

cp  /tmp/yourmama/usr/lib/mozilla/plugins/*.xpt  /opt/firefox/components
It is suggested you install the following “mplayerplug-in-0.4.xpi” but that file when I drag it into a Firefox window it does not install and gives an alert.

“"mplayerplug-in" will not be installed because it does not provide secure updates”

Test the plugins using the following urls.

Real
http://service.real.com/test/
Apple Quicktime
www.apple.com/trailers
Windows Media
http://www.vdat.com/techsupport/windowstest.asp
MPEG
ftp://ftp.tek.com/tv/test/streams/Element/index.html

Install PDF

Code:
aptitude install acroread acroread-escript acroread-plugins mozilla-acroread

cd  /opt/firefox/plugins

ln -s nppdf.so  /usr/lib/Adobe/Reader8/Browser/intellinux/nppdf.so
Test the pdf plugin http://www.irs.gov/pub/irs-pdf/f1040a.pdf

If all went well your Firefox 3 will be able to view most streaming media and display other essential formats used on the web.


  



All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration