By Brian Leonard on Jun 25, 2008
OpenOffice is not included in the base installation of OpenSolaris 2008.05 (there's only so much we can fit on a CD), however, it is available via the Package Manager, which I have gone ahead and installed. I know I have the latest version of OpenOffice (according to the Package Manager) because the Latest Version column is empty:
So, in the steps that follow I will uninstall the OpenOffice IPS package and run the OpenOffice installer that was just downloaded. This means that OpenOffice will no longer be under the supervision of the Package Manger. That's OK with me because OpenOffice seems to do a good job of managing itself.
Open a terminal to uninstall OpenOffice. At the prompt enter:
bleonard@opensolaris:$ pfexec pkg uninstall openoffice
Removal Phase 4268/5320
Warning - directory var/sadm/pkg/openofficeorg-desktop-integratn not empty - contents preserved in /var/pkg/lost+found/var/sadm/pkg/openofficeorg-desktop-integratn-2008-06-25+09:42:57
Warning - directory usr/share/gnome/mime-info not empty - contents preserved in /var/pkg/lost+found/usr/share/gnome/mime-info-2008-06-25+09:42:57
Warning - directory usr/share/gnome/application-registry not empty - contents preserved in /var/pkg/lost+found/usr/share/gnome/application-registry-2008-06-25+09:42:57
Removal Phase 5320/5320
Now we can successfully run the installer for OpenOffice 2.4.1. CD into the directory where the OpenOffice files were downloaded and extracted...
Then launch the installer (note, I had to pass it the path to Java, because the installer could not locate it on its own)...
bleonard@opensolaris:~/Desktop/OOo_2.4.1_Solarisx86_install_wJRE_en-US$ pfexec ./setup -j /usr/bin/java
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
/usr/bin/java -DHOME=/export/home/bleonard -jar JavaSetup.jar
System locale: en_US
Path to packages: /export/home/bleonard/Desktop/OOo_2.4.1_Solarisx86_install_wJRE_en-US/packages/
You are now current with OpenOffice and I would suspect future update notifications from OpenOffice will from now on install successfully.