Difference between revisions of "Documentation/Administration Guide/Using Package Manager"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 1: Line 1:
{{DISPLAYTITLE:Using the {{OOo}} Package Manager}}
+
{{DISPLAYTITLE:Using the {{OOo}} Extansion Manager}}
 
{{Documentation/AdminGuideTOC/v2
 
{{Documentation/AdminGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block
Line 8: Line 8:
 
}}
 
}}
 
{{Documentation/NeedsRework}}
 
{{Documentation/NeedsRework}}
You can use the {{OOo}} Package Manager to add, to remove, to disable, to enable, and to export {{OOo}} packages. For example, you can use the Package Manager to add or to remove the following types of packages:
+
 
 +
You can use the {{OOo}} Extension Manager to add, to remove, to disable, to enable, and to export {{OOo}} extensions. For example, you can use the Extension Manager to add or to remove the following types of extensions:
  
 
* '''{{OOo}} Basic libraries'''
 
* '''{{OOo}} Basic libraries'''
Line 14: Line 15:
 
* '''Universal Network Objects (UNO) components'''<br>These components represent compiled software packages. UNO is the interface-based component model for {{OOo}}. For more information on this model, go to the [http://udk.openoffice.org UNO Development Kit project web site].
 
* '''Universal Network Objects (UNO) components'''<br>These components represent compiled software packages. UNO is the interface-based component model for {{OOo}}. For more information on this model, go to the [http://udk.openoffice.org UNO Development Kit project web site].
 
* '''Menu configuration data'''
 
* '''Menu configuration data'''
* '''Package bundles'''<br>A package bundle is a <tt>*.zip</tt> archive file that contains one of more packages.
+
* '''Extension bundles'''<br>A extension bundle is a <tt>*.zip</tt> archive file that contains one of more extensions.
  
{{Documentation/Note|You cannot manage XSLT filters, language modules, or palettes with the Package Manager.}}
+
{{Documentation/Note|You cannot manage XSLT filters, language modules, or palettes with the Extension Manager.}}
  
You can manage packages from a dialog box or a command-line.
+
You can manage extensions from a dialog box or a command-line.
  
==Using the Package Manager Dialog Box==
+
==Using the Extension Manager Dialog Box==
  
You can open the Package Manager dialog box from the '''Tools''' menu in any {{OOo}} Program. However, to add packages for all  
+
You can open the Extension Manager dialog box from the '''Tools''' menu in any {{OOo}} Program. However, to add packages for all users of a {{OOo}} installation, you need to open the Extension Manager dialog box from the command-line.
users of a {{OOo}} installation, you need to open the Package Manager dialog box from the command-line.
+
  
===To Add a Package With the Package Manager Dialog Box===
+
===To Add a Package With the Extension Manager Dialog Box===
  
 
# Become root.
 
# Become root.
Line 31: Line 31:
 
#* In Windows, open a Command Prompt.
 
#* In Windows, open a Command Prompt.
 
# Change to the <tt>&lt;{{OOo}} installation directory&gt;/{{OOo}}2/program</tt> directory.
 
# Change to the <tt>&lt;{{OOo}} installation directory&gt;/{{OOo}}2/program</tt> directory.
# Type <tt>unopkg gui</tt><br>The Package Manager dialog box opens.
+
# Type <tt>unopkg gui</tt><br>The Extension Manager dialog box opens.
# In the list of packages, select the package category that you want to add the package to.
+
# In the list of extensions, select the extension category that you want to add the extension to.
 
# Click the '''Add''' button.
 
# Click the '''Add''' button.
# Locate the package that you want to add, and then click the '''Open''' button.
+
# Locate the extension that you want to add, and then click the '''Open''' button.
  
===To Remove a Package With the Package Manager Dialog Box===
+
===To Remove an Extension With the Extension Manager Dialog Box===
  
 
# Become root.
 
# Become root.
Line 42: Line 42:
 
#* In Windows, open a Command Prompt.
 
#* In Windows, open a Command Prompt.
 
# Change to the <tt> &lt;{{OOo}} installation directory&gt;/{{OOo}}2/program</tt> directory.
 
# Change to the <tt> &lt;{{OOo}} installation directory&gt;/{{OOo}}2/program</tt> directory.
# Type <tt>unopkg gui</tt><br>The Package Manager dialog box opens.
+
# Type <tt>unopkg gui</tt><br>The Extension Manager dialog box opens.
# In the list of packages, select the package that you want to remove.
+
# In the list of extensions, select the extension that you want to remove.
 
# Click the '''Remove''' button.
 
# Click the '''Remove''' button.
  
==Using the <tt>unopkg</tt> Command to Manage Packages==
+
==Using the <tt>unopkg</tt> Command to Manage Extensions==
  
 
You can manage packages from the command line. The syntax for the <tt>unopkg</tt> command is as follows:
 
You can manage packages from the command line. The syntax for the <tt>unopkg</tt> command is as follows:
  
  unopkg add {v, f, log-file, shared} package-path | remove {v, f, log-file, shared} package-name | list {v, f, log-file, shared} package-name | reinstall {v, f, log-file, shared} | gui | -V | -h
+
  unopkg add {v, f, log-file, shared} extension-path | remove {v, f, log-file, shared} extension-name | list {v, f, log-file, shared} extension-name | reinstall {v, f, log-file, shared} | gui | -V | -h
  
;<tt>add</tt>:Adds packages to a {{OOo}} installation.
+
;<tt>add</tt>:Adds extensions to a {{OOo}} installation.
;<tt>remove</tt>:Removes packages from a {{OOo}} installation.
+
;<tt>remove</tt>:Removes extensions from a {{OOo}} installation.
;<tt>list</tt>:Displays information about the deployed packages.
+
;<tt>list</tt>:Displays information about the deployed extensions.
;<tt>reinstall</tt>:Reinstalls the deployed packages.
+
;<tt>reinstall</tt>:Reinstalls the deployed extensions.
;<tt>gui</tt>:Opens the Package Manager dialog box.
+
;<tt>gui</tt>:Opens the Extension Manager dialog box.
 
;<tt>–V, – –version</tt>:Displays the version information for the <tt>unopkg</tt> command.
 
;<tt>–V, – –version</tt>:Displays the version information for the <tt>unopkg</tt> command.
 
;<tt>–h, – –help</tt>:Displays the help for the <tt>unopkg</tt> command.
 
;<tt>–h, – –help</tt>:Displays the help for the <tt>unopkg</tt> command.

Revision as of 10:31, 20 March 2008

Template:Documentation/NeedsRework

You can use the Apache OpenOffice Extension Manager to add, to remove, to disable, to enable, and to export Apache OpenOffice extensions. For example, you can use the Extension Manager to add or to remove the following types of extensions:

  • Apache OpenOffice Basic libraries
  • Apache OpenOffice dialog libraries
  • Universal Network Objects (UNO) components
    These components represent compiled software packages. UNO is the interface-based component model for Apache OpenOffice. For more information on this model, go to the UNO Development Kit project web site.
  • Menu configuration data
  • Extension bundles
    A extension bundle is a *.zip archive file that contains one of more extensions.

Template:Documentation/Note

You can manage extensions from a dialog box or a command-line.

Using the Extension Manager Dialog Box

You can open the Extension Manager dialog box from the Tools menu in any Apache OpenOffice Program. However, to add packages for all users of a Apache OpenOffice installation, you need to open the Extension Manager dialog box from the command-line.

To Add a Package With the Extension Manager Dialog Box

  1. Become root.
    • In UNIX and Linux, open a terminal, and type su
    • In Windows, open a Command Prompt.
  2. Change to the <Apache OpenOffice installation directory>/Apache OpenOffice2/program directory.
  3. Type unopkg gui
    The Extension Manager dialog box opens.
  4. In the list of extensions, select the extension category that you want to add the extension to.
  5. Click the Add button.
  6. Locate the extension that you want to add, and then click the Open button.

To Remove an Extension With the Extension Manager Dialog Box

  1. Become root.
    • In UNIX and Linux, open a terminal, and type su
    • In Windows, open a Command Prompt.
  2. Change to the <Apache OpenOffice installation directory>/Apache OpenOffice2/program directory.
  3. Type unopkg gui
    The Extension Manager dialog box opens.
  4. In the list of extensions, select the extension that you want to remove.
  5. Click the Remove button.

Using the unopkg Command to Manage Extensions

You can manage packages from the command line. The syntax for the unopkg command is as follows:

unopkg add {v, f, log-file, shared} extension-path | remove {v, f, log-file, shared} extension-name | list {v, f, log-file, shared} extension-name | reinstall {v, f, log-file, shared} | gui | -V | -h
add
Adds extensions to a Apache OpenOffice installation.
remove
Removes extensions from a Apache OpenOffice installation.
list
Displays information about the deployed extensions.
reinstall
Reinstalls the deployed extensions.
gui
Opens the Extension Manager dialog box.
–V, – –version
Displays the version information for the unopkg command.
–h, – –help
Displays the help for the unopkg command.
-v, --verbose
Runs the command in verbose mode.
-f, --force
Overwrites existing packages that have the same names.
--log-file <filename>
Creates a log file. The default file name path for the log file is <cache-dir>/log.txt
--shared
Expert feature: operate on shared installation deployment context; run only when no concurrent processes are running
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools