Upgrade Firefox 5.0 on Solaris 10 x86

Updating your browser to firefox 5.0 in Solaris 10 is easy, one thing you must do is to remove the old package. Oke, Here the steps :

Requirement :
– Firefox 5.0 binary can be downloaded from sunfreeware :

http://www.sunfreeware.com/mozilla.html

1. Remove the old package :

# pkgrm SUNWfirefox

2. Unzip and installing the package that you’ve downloaded :

# bunzip2 firefox-5.0.en-US.opensolaris-i386-pkg.bz2
# pkgadd -d firefox-5.0.en-US.opensolaris-i386-pkg

The default install location would be /opt/sfw/lib/firefox

3. Enable Flash Player Plugins :

cd /path/to<firefox install location>/plugins

Typically the plugins directory is not found, you need to create if the directory doesn’t exist.

# mkdir /opt/sfw/lib/firefox/plugins
# cd /opt/sfw/lib/firefox/plugins
# ln -s /usr/sfw/lib/mozilla/plugins/libflashplayer.so

4. Enable Java Plugins :

cd /path/to<firefox install location>/plugins
# cd /opt/sfw/lib/firefox/plugins
# ln -s /usr/jdk/jdk1.6.0_24/jre/plugin/i386/ns4/libjavaplugin.so

5. Run Firefox, if necessary add the path into your variable path :

$ /opt/sfw/bin/firefox &

check the plugins is installed by typing : “about plugins” without quote in your firefox bar address. Enjoy!