How to install plugins for Firefox


Release 1.0 July 25 2005


Intro: Mozilla is an Opensource product inherented from Netscape. And again Firefox is a "light" product of Mozilla, it works just like an ordinary browser, no more no less like the Mozilla Suite.
To install plugins for Firefox is dead-easy if you know how to do. All the supported plugins for Firefox can be freely download from Firefox plugins.

Let start: From Fedora3 it is easy to install Firefox from the CDROM with the rpm command, but for the old versions of FC/RH/Linux you need download it from the net. At that point the dependencies can work against you. So the fast&easy way to install Firefox for alle the users is to get an installed file with include all the dependencies. The file can be found at Firefox Installer, pick up the "Linux i686" version.
a) Unpack it to /tmp: tar xvzf firefox-1.0.6.installer.tar.gz -C /tmp
b) execute /tmp/firefox-installer
c) let the installer installs it at the directory /firefox-installer
d) put the next line at the second line at /etc/profile (the global path for all users, giving the users access to the Firefox binary) or at your homedir ~/.bash_profile
PATH=/firefox-installer:$PATH

Done, now you can start your browser by enter "/firefox-installer/firefox"...A browser without any plugins can be userless nowadays, let install some.

Install plugins for Firefox:

1) Get the Macromedia Flash Player from http://www.macromedia.com/downloads. Unpack the file with tar xvzf install_flash_player_7_linux.tar.gz -C /tmp
a) get the 2 packages "ttfonts" and "urw-fonts" from "rpmfind.net" or from the cdrom, install those with rpm -Uvh <name of the package>
b) execute /tmp/install_flash_player_7_linux/flashplayer-installer (ignore the Note about the font packages)
c) at the question about the fold of firefox, just enter /firefox-installer (I assumed you have firefox at the directory /firefox-installer)

NB: for the new Flash10 please do:
a) rpm -ivh <the flashplayer package> (get the package from http://get.adobe.com/flashplayer/
b) ln -s /usr/lib/flash-plugin/libflashplayer.so /usr/lib/firefox/plugins

Test: type "about:plugins" at the address bar after restarting firefox, you will get a section called "Shockwave Flash" with 2 MIME Types.

try this link to check your new plugins, http://www.dcopperfield.com/flash/main.html

2) Download Java from http://java.com/en/download/manual.jsp, choose the RPM file
a) execute sh jre-1_5_0_04-linux-i586-rpm.bin, roll down to the copyright and enter "accept". The script then generates a rpm file
b) install the rpm with "rpm -ivh jre-1_5_0_04-linux-i586-rpm"
c) link the java to the firefox plugins: ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /firefox-installer/plugins/

Test: type "about:plugins" at the address bar after restarting firefox, there will be a Java section with at least 30 MIME Types. Do you hear any music from that site http://www.chezmoi.dk ?

3) Download Realplayer from http://www.real.com/linux/?rppr=rnwk&src=040104freeplayer, install it with
a) rpm -ivh RealPlayer10GOLD.rpm
b) copy the follwing two files from Realplayer to the Firefox directory:
   cp -p /usr/local/RealPlayer/mozilla/nphelix.so /firefox-installer/plugins/
   cp -p /usr/local/RealPlayer/mozilla/nphelix.xpt /firefox-installer/components/
c) put the next line at the second line at /etc/profile (or at your homedir ~/.bash_profile)
PATH=/usr/local/RealPlayer:$PATH
d) run the Realplayer from the console at the first time, enter "realplay" from the console

Test: type "about:plugins" at the address bar after restarting firefox, there will be a Helix Realplayer section with one MIME Type.
Click at the logo on this site to see the video: http://www.mentalfitness.dk/?DAMP%2FADD%2FADHD%2FOCD:TV2-udsendelse . Choose the application at /usr/local/RealPlayer/realplay at the popup window.

4) Get then Acrobat plugins from http://ardownload.adobe.com/pub/adobe/acrobatreader/unix/5.x/linux-5010.tar.gz, unpack it with tar xvzf linux-5010.tar.gz -C /tmp
a) execute /tmp/installers/INSTALL (answer "yes" tol all the questions)
b) execute ln -s /usr/local/Acrobat5/Browsers/intellinux/nppdf.so /firefox-installer/plugins

Test: type "about:plugins" at the address bar after restarting firefox, there will be a nppdf.so section with one MIME Type. Try if you can open this pdf file at http://www.theoryoffun.com/theoryoffun.pdf

Voila.

Troubleshooting: remember to put all the "execute" parts from the plugins in your working path. It means at the second line of your /etc/profile, you must have this line.
PATH=/usr/local/Acrobat5/bin/:/usr/local/RealPlayer:/firefox-installer:$PATH

Goodluck with the fox...
Copenhagen May 2010, Tuan Nguyen