Apache OpenOffice Extension Manager

From Apache OpenOffice Wiki
Jump to: navigation, search


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

  • Configuration Data
  • Configuration Libraries
  • Extensions
  • 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.

Template:Documentation/Note

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

Using the Extension Manager Dialog Box

Extensions can be installed so they are available to either the current user (single user installation), or to all users (shared user installation).

To install an extension for the current user, open the Extension Manager dialog box from the Tools menu in any Apache OpenOffice program and install the extension. The extension will be installed and be immediately available to the current user. The extension will not be available to other users on this computer.

To install an extension for all users, use the unopkg add --shared command-line syntax and install the extension with root or Administrator privileges.

To Add an Extension for All Users

  1. Become root.
    • In UNIX, Linux and OSX, open a terminal window, type su and enter your root user password.
    • In Windows XP, open a command prompt.
    • In Windows Vista and Windows 7, right-click the icon for the command prompt and select Run as Administrator.
  2. Change to the install-dir/program directory.
  3. Type unopkg add --shared package-name.

To Remove an Extension for All Users

  1. Become root.
    • In UNIX and Linux, open a terminal window, and type su.
    • In Windows XP, open a command prompt.
    • In Windows Vista and Windows 7, right-click on the icon for the command prompt and select Start as Administrator.
  2. Change to the install-dir/program directory.
  3. Type unopkg remove package-name.

Using the unopkg Command to Manage Extensions

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

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 an Apache OpenOffice installation.
remove
Removes extensions from an 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 extensions 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
In other languages