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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Installation)
Line 11: Line 11:
 
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.
  
* Download and unzip the installation sources.
 
 
* Become root if necessary
 
* Become root if necessary
  
 
  su -
 
  su -
 
* Start the installation package on:
 
 
: Solaris Sparc
 
 
<!-- <nowiki>./OOo_<version>_SolarisSparc-install_wJRE_<Optional languages>.sh</nowiki> -->
 
 
: Solaris x86
 
 
<!-- <nowiki>./OOo_<version>_Solarisx86-install_wJRE_<Optional languages>.sh</nowiki> -->
 
 
<!-- * The following error message appears:
 
 
The Installation Wizard can't run in GUI mode.
 
Maybe the DISPLAY environment variable isn't set correctly.
 
 
* 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.
 
-->
 
  
 
* Change directory to:
 
* Change directory to:

Revision as of 12:31, 22 July 2008


Installation

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

  • Become root if necessary
su -
  • Change directory to:
<OpenOffice.org_unzip-dir>/packages

For a silent installation of Apache OpenOffice you must create an admin file. This hides any recurring queries during the installation.

echo action=nocheck > /tmp/admin
echo conflict=nocheck >> /tmp/admin
echo idepend=nocheck >> /tmp/admin


To install the StarOffice packages :

pkgadd -n -a /tmp/admin -d . *

You can safely delete the Apache OpenOffice installation packages after the install is complete.


Uninstall

Do not delete the Apache OpenOffice files from the file system. We strongly recommend to use the Apache OpenOffice Java setup or the pkgrm tool to uninstall Apache OpenOffice. The Solaris package repository would become inconsistent if you remove the Apache OpenOffice files with rm -r.

  • Become root if necessary
su -
  • For a silent installation of Apache OpenOffice 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

Depending on your Java environment you have to uninstall following three packages which including the Java Runtime Environment which was installed by the Apache OpenOffice installer. Uninstalling these packages could damage your Java environment.

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