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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Installation)
(20 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.
  
* Become root if necessary
+
{{Note|These instructions assume you have downloaded and extracted the {{OOo}} installation files.}}
  
 +
<ol>
 +
<li>Become root if necessary
 +
<source lang="text">
 
  su -
 
  su -
 
+
</source></li>
* Change directory to:
+
<li>Change directory to:
 
+
<source lang="text">
<OpenOffice.org_unzip-dir>/packages
+
<OpenOffice.org_unzip-dir>/packages
 
+
</source></li>
For a silent installation of {{OOo}} you must create an <tt>admin</tt> file. This hides any recurring queries during the installation.
+
<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 action=nocheck > /tmp/admin
echo conflict=nocheck >> /tmp/admin
+
echo conflict=quit >> /tmp/admin
echo idepend=nocheck >> /tmp/admin
+
echo idepend=nocheck >> /tmp/admin
 
+
</source></li>
 
+
<li>Install the OpenOffice.org packages :
To install the StarOffice packages :
+
<source lang="text">
 
+
pkgadd -n -a /tmp/admin -d . *
pkgadd -n -a /tmp/admin -d . *
+
</source></li></ol>
  
 
You can safely delete the {{OOo}} installation packages after the install is complete.
 
You can safely delete the {{OOo}} installation packages after the install is complete.
 
<!--
 
=== 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
 
 
-->
 
  
 
=== Uninstall ===
 
=== Uninstall ===
Do not delete the {{OOo}} files from the file system. We strongly recommend to use the {{OOo}} Java setup or the ''pkgrm'' tool to uninstall {{OOo}}. The Solaris package repository would become inconsistent if you remove the {{OOo}} files with <tt>rm -r</tt>.
+
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}}.
 
+
<ol>
* Become root if necessary
+
<li>Become root if necessary
 
+
<source lang="text">
su -
+
su -
<!--
+
</source></li>
* Create a file 'so_packages' with all {{OOo}} related Solaris packages
+
<li>Create a file 'ooo_packages' with all {{OOo}} related Solaris packages
 
+
<source lang="text">
pkginfo -x | cut  -f1 -d " " | grep staroffice > /tmp/so_packages
+
pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
-->
+
</source></li>
* For a silent installation of {{OOo}} it is necessary to create an admin file. This avoids recurring queries at the installation.
+
<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">
echo action=nocheck > /tmp/admin
+
echo action=nocheck > /tmp/admin
echo conflict=nocheck >> /tmp/admin
+
echo conflict=nocheck >> /tmp/admin
echo rdepend=nocheck >> /tmp/admin
+
echo rdepend=nocheck >> /tmp/admin
 
+
</source></li>
* Remove all packages listed in the file
+
<li>Remove all packages listed in the file
<!--
+
<source lang="text">
pkgrm -a /tmp/admin -n `cat /tmp/so_packages`
+
pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
-->
+
</source></li>
<!--
+
<li>Depending on your Java environment you may choose to uninstall additional packages which were installed by the {{OOo}} installer:
* 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:
+
<source lang="text">
 
+
pkgrm SUNWj6man SUNWj6cfg
pkgrm SUNWfreetype2 SUNWadabas
+
</source>
-->
+
{{Warn|Uninstalling these packages could damage your Java environment.}}
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.
+
</li></ol>
 
+
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