I looked all over the internet for a how-to for installing Firefox and could not find one. Even the Firefox web page and the download sites didn't have one. Basically the "powers that be" assumed everyone just knew how to do this. Well it is quite easy. Listed below, are the steps for installing Firefox on a Solaris system. This should as work for Linux systems as well, but it is best to use the Linux package manager.
Perform the following tasks as root.
1) Find the location where Firefox is installed and write it down.
# which firefox
/usr/bin/firefox
# ls -l /usr/bin/firefox
/usr/bin/firefox -> /usr/lib/firefox/firefox
# ls -l /usr/lib/firefox/firefox
/usr/lib/firefox/firefox
So in this case Firefox is installed at /usr/lib/firefox directory.
2) Download the latest version from OpenSolaris.org or unixpackages.com (sunfreeware).
http://hub.opensolaris.org/bin/view/Community+Group+desktop/development
http://unixpackages.com/packages/mozilla
3) Remove the old version.
# rm -r /usr/lib/firefox
You can also install on top of the old version, if you want. I don't recommend doing this because this will leave behind old unneeded files. It might be a good idea to backup the old files first or install the new version of Firefox in different directory to test.
4) Move file and extract the contents.
# mv firefox-* /usr/lib/
# cd /usr/lib/
# bzip2 -cd files.tar.bz2 | tar xvf -
The commands on the last line work like this;
bzip2 uncompress the file and sends the output to
tar, which then extracts this archive to the current directory. You have just installed Firefox.
5) Check to see if it works
# firefox
Make sure to test all possible uses of Firefox, such as pages that use JavaScript and Java.
Possible issues
You may need to relink /usr/bin/firefox to /usr/lib/firefox/firefox
# ln -s /usr/lib/firefox/firefox /usr/bin/firefox
Anther site that might be usefull.
http://support.mozilla.org/en-US/questions/759697
*** Update ***
The site that hosted the files used in this how-to is no longer online. I have posted new instructions for installing Firefox on this blog. Click on the below to see them.
Installing Firefox on Solaris Update