Difference between revisions of "Documentation/Administration Guide/Using Package Manager"
From Apache OpenOffice Wiki
(→Using the <tt>unopkg</tt> Command to Manage Packages) |
|||
Line 7: | Line 7: | ||
|PrevPage=Documentation/Administration_Guide/Using_Custom_Macros_and_Libraries | |PrevPage=Documentation/Administration_Guide/Using_Custom_Macros_and_Libraries | ||
}} | }} | ||
− | + | {{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}} 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: | ||
Revision as of 10:33, 22 February 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 Package Manager to add, to remove, to disable, to enable, and to export Apache OpenOffice packages. For example, you can use the Package Manager to add or to remove the following types of packages:
- 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
- Package bundles
A package bundle is a *.zip archive file that contains one of more packages.
You can manage packages from a dialog box or a command-line.
Contents
Using the Package Manager Dialog Box
You can open the Package 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 Package Manager dialog box from the command-line.
To Add a Package With the Package Manager Dialog Box
- Become root.
- In UNIX and Linux, open a terminal, and type su
- In Windows, open a Command Prompt.
- Change to the <Apache OpenOffice installation directory>/Apache OpenOffice2/program directory.
- Type unopkg gui
The Package Manager dialog box opens. - In the list of packages, select the package category that you want to add the package to.
- Click the Add button.
- Locate the package that you want to add, and then click the Open button.
To Remove a Package With the Package Manager Dialog Box
- Become root.
- In UNIX and Linux, open a terminal, and type su
- In Windows, open a Command Prompt.
- Change to the <Apache OpenOffice installation directory>/Apache OpenOffice2/program directory.
- Type unopkg gui
The Package Manager dialog box opens. - In the list of packages, select the package that you want to remove.
- Click the Remove button.
Using the unopkg Command to Manage Packages
You can manage packages from the command line. The syntax for the unopkg 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
- add
- Adds packages to a Apache OpenOffice installation.
- remove
- Removes packages from a Apache OpenOffice installation.
- list
- Displays information about the deployed packages.
- reinstall
- Reinstalls the deployed packages.
- gui
- Opens the Package 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). |