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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Installation)
(25 intermediate revisions by 5 users not shown)
Line 5: Line 5:
 
|PrevPage=Documentation/Administration Guide/How to deploy OpenOffice.org though a network
 
|PrevPage=Documentation/Administration Guide/How to deploy OpenOffice.org though a network
 
|NextPage=Documentation/Administration Guide/Linux
 
|NextPage=Documentation/Administration Guide/Linux
}}
+
}}  
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
 
{{DISPLAYTITLE:Solaris Sparc/x86}}
=== Installation ===
+
=== Installation ===  
  
The Solaris Package Manager is powerful tool to deploy software packages locally and through a network.
+
The Solaris Package Manager is a powerful tool you can use to deploy software packages both locally and throughout a network.
  
* Download and unzip the installation sources.
+
{{Note|These instructions assume you have downloaded and extracted the {{OOo}} installation files.}}
* Become root if necessary
+
  
 +
<ol>
 +
<li>Become root if necessary
 +
<source lang="text">
 
  su -
 
  su -
 +
</source></li>
 +
<li>Change directory to:
 +
<source lang="text">
 +
<OpenOffice.org_unzip-dir>/packages
 +
</source></li>
 +
<li>For a silent installation of {{OOo}}, you must create an <tt>admin</tt> file. This hides any recurring queries during the installation.
 +
<source lang="text">
 +
echo action=nocheck > /tmp/admin
 +
echo conflict=quit >> /tmp/admin
 +
echo idepend=nocheck >> /tmp/admin
 +
</source></li>
 +
<li>Install the OpenOffice.org packages :
 +
<source lang="text">
 +
pkgadd -n -a /tmp/admin -d . *
 +
</source></li></ol>
  
* Start the installation package on:
+
You can safely delete the {{OOo}} installation packages after the install is complete.
  
: Solaris Sparc
+
=== Uninstall ===
 
+
Do not delete the {{OOo}} files from the file system. You must use either the {{OOo}} Java setup or the <tt>pkgrm</tt> tool to uninstall {{OOo}}.
<!-- <nowiki>./OOo_<version>_SolarisSparc-install_wJRE_<Optional languages>.sh</nowiki> -->
+
<ol>
 
+
<li>Become root if necessary
: Solaris x86
+
<source lang="text">
 
+
su -
<!-- <nowiki>./OOo_<version>_Solarisx86-install_wJRE_<Optional languages>.sh</nowiki> -->
+
</source></li>
 
+
<li>Create a file 'ooo_packages' with all {{OOo}} related Solaris packages
<!-- * The following error message appears:
+
<source lang="text">
 
+
pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
The Installation Wizard can't run in GUI mode.
+
</source></li>
Maybe the DISPLAY environment variable isn't set correctly.
+
<li>For a silent uninstall of {{OOo}}, you must create an <tt>admin</tt> file. This hides any recurring queries during the uninstall.
 
+
<source lang="text">
* 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.
+
echo action=nocheck > /tmp/admin
 
+
echo conflict=nocheck >> /tmp/admin
* Change directory to:
+
echo rdepend=nocheck >> /tmp/admin
 
+
</source></li>
<OpenOffice.org_unzip-dir>/packages
+
<li>Remove all packages listed in the file
 
+
<source lang="text">
* Cancel the graphical {{OOo}} setup if it is open.
+
pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
 
+
</source></li>
For a silent installation of StarOffice it is necessary to create an admin file. This avoids recurring queries at the installation.
+
<li>Depending on your Java environment you may choose to uninstall additional packages which were installed by the {{OOo}} installer:
 
+
<source lang="text">
echo action=nocheck > /tmp/admin
+
pkgrm SUNWj6man SUNWj6cfg
echo conflict=nocheck >> /tmp/admin
+
</source>
echo idepend=nocheck >> /tmp/admin
+
{{Warn|Uninstalling these packages could damage your Java environment.}}
-->
+
</li></ol>
 
+
To install the StarOffice packages :
+
 
+
<!-- pkgadd -n -a /tmp/admin -d . * -->
+
 
+
Remove the StarOffice installation packages afterwards :
+
 
+
<!-- rm -r /var/tmp/unpack_staroffice -->
+
 
+
<!--
+
=== 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 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)
+
 
+
<nowiki>unzip 120185-02.zip [Solaris Sparc]</nowiki>
+
<nowiki>unzip 120186-02.zip [Solaris x86]</nowiki>
+
 
+
* Apply the patch (The patch has the same number/name as the ZIP archive above)
+
 
+
patchadd 120186-02
+
 
+
-->
+
 
+
=== De-Installation ===
+
Do not delete the {{OOo}} files from the file system. We strongly recommend to use the {{OOo}} Java setup or the ''pkgrm'' tool to de-install {{OOo}}. The Solaris package repository would become inconsistent when you remove the {{OOo}} files via rm -r .
+
 
+
* Become root if necessary
+
 
+
su -
+
<!--
+
* Create a file 'so_packages' with all {{OOo}} related Solaris packages
+
 
+
pkginfo -x | cut  -f1 -d " " | grep staroffice > /tmp/so_packages
+
-->
+
* For a silent installation of {{OOo}} 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 {{OOo}} installation set do not use the term 'openoffice'. 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 uninstall following three packages which including the Java Runtime Environment which was installed by the {{OOo}} installer. Uninstalling these packages could damage your Java environment.
+
 
+
pkgrm SUNWj5rt SUNWj5man SUNWj5cfg
+
  
 +
{{InterWiki Languages AdminGuide|articletitle=Documentation/Administration Guide/Solaris}}
 
{{PDL1}}
 
{{PDL1}}

Revision as of 20:18, 13 July 2018


Installation

The Solaris Package Manager is a powerful tool you can use to deploy software packages both locally and throughout a network.

Documentation note.png These instructions assume you have downloaded and extracted the Apache OpenOffice installation files.
  1. Become root if necessary
     su -
  2. Change directory to:
    <OpenOffice.org_unzip-dir>/packages
  3. 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=quit >> /tmp/admin
    echo idepend=nocheck >> /tmp/admin
  4. Install the OpenOffice.org 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. You must use either the Apache OpenOffice Java setup or the pkgrm tool to uninstall Apache OpenOffice.

  1. Become root if necessary
    su -
  2. Create a file 'ooo_packages' with all Apache OpenOffice related Solaris packages
    pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
  3. For a silent uninstall of Apache OpenOffice, you must create an admin file. This hides any recurring queries during the uninstall.
    echo action=nocheck > /tmp/admin
    echo conflict=nocheck >> /tmp/admin
    echo rdepend=nocheck >> /tmp/admin
  4. Remove all packages listed in the file
    pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
  5. Depending on your Java environment you may choose to uninstall additional packages which were installed by the Apache OpenOffice installer:
    pkgrm SUNWj6man SUNWj6cfg
    Documentation caution.png Uninstalling these packages could damage your Java environment.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages