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
Thank you!
ReplyDeletethats exactly explain what im looking for!!
Thank you again!
I'm glade my notes where of helpful to you.
DeleteHello Rich, can you also help me provide Installing adobe reader on a Solaris 10 and Installing openoffice on a Solaris 10.
ReplyDeleteThanks in advance.
Sorry I don't have any notes for this. I usually delete adobe reader if I see it on my servers.
DeleteHi there, I followed your instructions, and ended up with firefox in /opt/firefox
ReplyDeletewhen I issue the /opt/firefox command, it complains about missing symbols:
# /opt/firefox/firefox
XPCOMGlueLoad error for file /opt/firefox/libmozsqlite3.so:
ld.so.1: firefox: fatal: relocation error: file /opt/firefox/libmozsqlite3.so: symbol posix_fallocate64: referenced symbol not found
Couldn't load XPCOM.
I am on:Solaris 10 6/06 s10s_u2wos_09a SPARC & 5.10 Generic_144488-09 sun4v sparc SUNW,Sun-Fire-T200
I tried to add it to LD...
# crle
Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /lib:/usr/lib:/opt/firefox
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
Command line:
crle -c /var/ld/ld.config -l /lib:/usr/lib:/opt/firefox
but no luck
Any ideas as to where next?
James