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

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 31: Line 31:
  
 
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 the {{OOo}} Java setup or the <tt>pkgrm</tt> tool to uninstall {{OOo}}.
  
 
* Become root if necessary
 
* Become root if necessary
  
 
  su -
 
  su -
<!--
 
* Create a file 'so_packages' with all {{OOo}} related Solaris packages
 
  
  pkginfo -x | cut  -f1 -d " " | grep staroffice > /tmp/so_packages
+
* Create a file 'ooo_packages' with all {{OOo}} related Solaris packages
-->
+
 
* For a silent installation of {{OOo}} it is necessary to create an admin file. This avoids recurring queries at the installation.
+
  pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
 +
 
 +
* For a silent uninstal-. of {{{OOo}} you must create an <tt>admin</tt> file. This hides any recurring queries during the uninstall.
  
 
  echo action=nocheck > /tmp/admin
 
  echo action=nocheck > /tmp/admin
Line 69: Line 50:
  
 
* Remove all packages listed in the file
 
* 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
+
  pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
-->
+
 
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.
+
Depending on your Java environment you may need to uninstall following packages which were installed by the {{OOo}} installer.  
 +
 
 +
pkgrm SUNWj5rt SUNWj6man SUNWj6cfg
  
pkgrm SUNWj5rt SUNWj5man SUNWj5cfg
+
{{Documentation/Caution|Uninstalling these packages could damage your Java environment.}}
  
 
{{PDL1}}
 
{{PDL1}}

Revision as of 12:39, 22 July 2008


Installation

The Solaris Package Manager is powerful tool you can use 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. You must use the Apache OpenOffice Java setup or the pkgrm tool to uninstall Apache OpenOffice.

  • Become root if necessary
su -
  • Create a file 'ooo_packages' with all Apache OpenOffice related Solaris packages
pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages 
  • For a silent uninstal-. 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
  • Remove all packages listed in the file
pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`

Depending on your Java environment you may need to uninstall following packages which were installed by the Apache OpenOffice installer.

pkgrm SUNWj5rt 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