Difference between revisions of "Documentation/Administration Guide/Solaris"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 8: Line 8:
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
 
=== Installation ===
 
=== Installation ===
The setup of {{OOo} based on Solaris Packages with a Java font end.
 
<!--The [http://docs.sun.com/app/docs/doc/817-7351?a=load StarOffice 8 Getting Started Guide] describes the usage of the Java front end. -->
 
  
 
The Solaris Package Manager is powerful tool to deploy software packages locally and through a network.
 
The Solaris Package Manager is powerful tool to deploy software packages locally and through a network.
  
To expand the installation:
+
* Download and unzip the installation sources.
 
+
 
* Become root if necessary
 
* Become root if necessary
  
 
  su -
 
  su -
  
* Execute the installation package on Solaris Sparc
+
* Execute the installation package on:
  
<nowiki>./OOo_<version>_SolarisSparc-en-US_<Optional languages>.sh</nowiki>
+
: Solaris Sparc
  
: On Solaris x86
+
<!-- <nowiki>./OOo_<version>_SolarisSparc-en-US_<Optional languages>.sh</nowiki> -->
  
<nowiki>./OOo_<version>_Solarisx86-en-US_<Optional languages>.sh</nowiki>
+
: Solaris x86
  
* Following error message appears
+
<!-- <nowiki>./OOo_<version>_Solarisx86-en-US_<Optional languages>.sh</nowiki> -->
 +
 
 +
<!-- * The following error message appears:
  
 
  The Installation Wizard can't run in GUI mode.
 
  The Installation Wizard can't run in GUI mode.
 
  Maybe the DISPLAY environment variable isn't set correctly.
 
  Maybe the DISPLAY environment variable isn't set correctly.
  
* Due to the fact that we do not need the graphical installer you can ignore this error message. In those cases where the graphic setup appears, do not continue to install {{OOo}} but leave the installation dialog open.
+
* You can safely ignore this error message because you do not need the graphical installer. If the graphical installer appears, do not continue to install {{OOo}} but leave the installation dialog open.
 
+
* You will find the Solaris packages in following directory :
+
 
+
/var/tmp/unpack_staroffice/packages
+
 
+
* Move all packages directory in a directory of your choice.
+
* Go into this directory
+
* Cancel the {{OOo}} setup now
+
<!--
+
CDE users probably does not need the Gnome integration package. Remove the directory SUNWstaroffice-gnome-integration
+
  
rm -r SUNWstaroffice-gnome-integration
+
* Change directory to:
  
To anticipate the installation of the Adabas D Database server, which is part of StarOffice installation set, remove following directory :
+
<OpenOffice.org_unzip-dir>/packages
  
rm -r SUNWadabas
+
* Cancel the graphical {{OOo}} setup if it is open.
  
 
For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
 
For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
Line 55: Line 44:
 
  echo conflict=nocheck >> /tmp/admin
 
  echo conflict=nocheck >> /tmp/admin
 
  echo idepend=nocheck >> /tmp/admin
 
  echo idepend=nocheck >> /tmp/admin
 +
-->
  
 
To install the StarOffice packages :
 
To install the StarOffice packages :
  
pkgadd -n -a /tmp/admin -d . *
+
<!-- pkgadd -n -a /tmp/admin -d . * -->
  
 
Remove the StarOffice installation packages afterwards :
 
Remove the StarOffice installation packages afterwards :
  
rm -r /var/tmp/unpack_staroffice
+
<!-- rm -r /var/tmp/unpack_staroffice -->
  
 
=== Apply StarOffice Product Patches/Updates ===
 
=== Apply StarOffice Product Patches/Updates ===

Revision as of 08:42, 18 July 2008


Installation

The Solaris Package Manager is powerful tool to deploy software packages locally and through a network.

  • Download and unzip the installation sources.
  • Become root if necessary
su -
  • Execute the installation package on:
Solaris Sparc


Solaris x86


To install the StarOffice packages :


Remove the StarOffice installation packages afterwards :


Apply StarOffice Product Patches/Updates

Each Product Update has the same Java based installer front end as the StarOffice installation set. Just call the setup for applying the update. Anyhow, the Upgrade uses Solaris packages as which could be applied by the upgrade command of the Solaris Package Manager.

  • Download the patch from SunSolve
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-StarOffice&nav=pub-patches
  • Extract the patch files from the archive (The file name differ with the patch release)
unzip 120185-02.zip [Solaris Sparc]
unzip 120186-02.zip [Solaris x86]
  • Apply the patch (The patch has the same number/name as the ZIP archive above)
patchadd 120186-02

De-Installation

Do not delete the StarOffice files from the file system. We strongly recommend to use the StarOffice Java setup or the pkgrm tool to de-install StarOffice. The Solaris package repository would become inconsistent when you remove the StarOffice files via rm -r .

  • Become root if necessary
su -
  • Create a file 'so_packages' with all StarOffice related Solaris packages
pkginfo -x | cut  -f1 -d " " | grep staroffice > /tmp/so_packages 
  • For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
echo action=nocheck > /tmp/admin
echo conflict=nocheck >> /tmp/admin
echo rdepend=nocheck >> /tmp/admin
  • Remove all packages listed in the file
pkgrm -a /tmp/admin -n `cat /tmp/so_packages`
  • There are a number of packages in the StarOffice installation set does not use the term 'staroffice'. These packages including a font server (SUNWfreetype2) and an Ababas D database server (SUNWadabas). To remove these packages:
pkgrm SUNWfreetype2 SUNWadabas

Depending on your Java environment you have to deinstall following three packages which including the Java Runtime Environment which was installed by the StarOffice installer. De-Installing these packages could damage you Java environment.

pkgrm SUNWj5rt SUNWj5man SUNWj5cfg 

-->

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools