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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Installation)
(17 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 you can use 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.
 +
 
 +
{{Note|These instructions assume you have downloaded and extracted the {{OOo}} installation files.}}
  
 
<ol>
 
<ol>
Line 18: Line 20:
 
<li>Change directory to:
 
<li>Change directory to:
 
<source lang="text">
 
<source lang="text">
<OpenOffice.org_unzip-dir>/packages
+
<OpenOffice.org_unzip-dir>/packages
 
</source></li>
 
</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.
+
<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">
 
<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>
 
</source></li>
<li>Install the StarOffice packages :
+
<li>Install the OpenOffice.org packages :
 
<source lang="text">
 
<source lang="text">
pkgadd -n -a /tmp/admin -d . *
+
pkgadd -n -a /tmp/admin -d . *
 
</source></li></ol>
 
</source></li></ol>
  
Line 34: Line 36:
  
 
=== Uninstall ===
 
=== Uninstall ===
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}}.
+
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 'ooo_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 ooo > /tmp/ooo_packages  
+
pkginfo -x | cut  -f1 -d " " | grep ooo > /tmp/ooo_packages  
 
+
</source></li>
* For a silent uninstal-. of {{{OOo}} you must create an <tt>admin</tt> file. This hides any recurring queries during the uninstall.
+
<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/ooo_packages`
+
pkgrm -a /tmp/admin -n `cat /tmp/ooo_packages`
 
+
</source></li>
Depending on your Java environment you may need to uninstall following packages which were installed by the {{OOo}} installer.
+
<li>Depending on your Java environment you may choose to uninstall additional packages which were installed by the {{OOo}} installer:
 
+
<source lang="text">
pkgrm SUNWj5rt SUNWj6man SUNWj6cfg  
+
pkgrm SUNWj6man SUNWj6cfg  
 
+
</source>
{{Documentation/Caution|Uninstalling these packages could damage your Java environment.}}
+
{{Warn|Uninstalling these packages could damage your Java environment.}}
 +
</li></ol>
  
 +
{{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