Solaris Sparc/x86

From Wiki
Revision as of 15:24, 30 March 2012 by Sancho (talk | contribs)
Jump to navigationJump to search



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 OpenOffice.org installation files.
  1. Become root if necessary
     su -
  2. Change directory to:
    <OpenOffice.org_unzip-dir>/packages
  3. For a silent installation of OpenOffice.org, 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 OpenOffice.org installation packages after the install is complete.

Uninstall

Do not delete the OpenOffice.org files from the file system. You must use either the OpenOffice.org Java setup or the pkgrm tool to uninstall OpenOffice.org.

  1. Become root if necessary
    su -
  2. Create a file 'ooo_packages' with all OpenOffice.org related Solaris packages
    pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages
  3. For a silent uninstall of OpenOffice.org, 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 OpenOffice.org 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).