Difference between revisions of "Documentation/Administration Guide/Using Package Manager"
(→Using the Extension Manager Dialog Box) |
(→Using the Extension Manager Dialog Box) |
||
Line 22: | Line 22: | ||
Extensions can be installed so that they are available to only the current user (single user installation), or for all users (shared user installation). Before you start installing an Extension, you should consider who will use the extension, just the current user, or all users. | Extensions can be installed so that they are available to only the current user (single user installation), or for all users (shared user installation). Before you start installing an Extension, you should consider who will use the extension, just the current user, or all users. | ||
− | If you wish to install an Extension that will be used by only the current user, then you can simply open the Extension Manager dialog box from the '''Tools''' menu in any {{OOo}} 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 | + | If you wish to install an Extension that will be used by only the current user, then you can simply open the Extension Manager dialog box from the '''Tools''' menu in any {{OOo}} 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 that computer. |
− | If you wish to install an Extension that | + | If you wish to install an Extension that can be used by all users, you must install the Extension with root or Administrator privileges. To install an Extension as root or Administrator, you must open the Extension Manager dialog box from the command line, or use the <tt>unopkg --shared</tt> command line syntax. |
=== Use the Extension Manager dialog box to add an Extension for all users === | === Use the Extension Manager dialog box to add an Extension for all users === |
Revision as of 12:45, 5 May 2008
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
You can use the Apache OpenOffice Extension Manager to add, remove, disable, enable, and 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.
You can manage extensions from a dialog box or a command-line.
Contents
Using the Extension Manager Dialog Box
Extensions can be installed so that they are available to only the current user (single user installation), or for all users (shared user installation). Before you start installing an Extension, you should consider who will use the extension, just the current user, or all users.
If you wish to install an Extension that will be used by only the current user, then you can simply 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 that computer.
If you wish to install an Extension that can be used by all users, you must install the Extension with root or Administrator privileges. To install an Extension as root or Administrator, you must open the Extension Manager dialog box from the command line, or use the unopkg --shared command line syntax.
Use the Extension Manager dialog box to add an Extension for all users
- Become root.
- In UNIX and Linux, open a terminal, and type su
- In Windows, open a Command Prompt.
- In Windows Vista, right click on the icon for the Command Prompt and select Start as Administrator.
- Change to the <Apache OpenOffice installation directory>/program directory.
- Type unopkg gui
The Extension Manager dialog box opens. - In the list of extensions, select the extension category that you want to add the extension to.
- Click the Add button.
- Locate the extension that you want to add, and then click OK.
Use the Extension Manager dialog box to remove an Extension for all users
- Become root.
- In UNIX and Linux, open a terminal, and type su
- In Windows, open a Command Prompt.
- In Windows Vista, right click on the icon for the Command Prompt and select Start as Administrator.
- Change to the <Apache OpenOffice installation directory>/program directory.
- Type unopkg gui
The Extension Manager dialog box opens. - In the list of extensions, select the extension that you want to remove.
- 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:
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 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). |