正:安裝

From Apache OpenOffice Wiki
Revision as of 06:15, 8 December 2005 by Pplwong (Talk | contribs)

Jump to: navigation, search

Overview

This document is designed to provide users with instructions on installing OpenOffice.org2.0 and its successors on their systems.


General Installation Information

Starting with OpenOffice.org 2.0, installation is done using the native installers available on each system. This means that installation only requires that you unpack the download image and then launch the local tool.

Using the native installers will provide better upgrades et cetera.

Language packs are mostly available from each Native Language Community and may also be available from http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ plus the appropriate release. For example, http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0rc2/

Warning: Please keep in mind that upgrading from 1.1.x to any 2.0 release is NOT recommended, keep the installation of each separate.


RPM-based Installation

Installation

  1. Unpack the downloaded image into a directory. For example,Currently, the following command would unpack into the current directory: tar xvzf Ooo_2.0.xxx_LinuxIntel_install.tar.gz .
  2. su to root, if necessary.
  3. cd into the directory with the unpacked image. This could be RPMS.
  4. Then execute rpm -Uvh *rpm for the standard installation in /opt. If you prefer to install in another directory, try rpm -Uvh --prefix /<where_ooo_should_go>/ *.rpm or something similar. When relocating, only relocate the base rpms, in other words, do not include any user interface RPMs as these must go in their default locations for proper system integration.

    Note: Upgrade the core first and then upgrade the user interface. Separating steps 4 and 5 ensures a good upgrade.

  5. cd into the desktop-integration directory and execute
    rpm -Uvh for the menu rpm that applies to your system. For example, on a RedHat-based system, you would use
    rpm -Uvh openoffice.org-redhat-menus-<release>.noarch.rpm or similar.
  6. Download and install any language packs needed for OpenOffice.org. For example, if you relocated Openoffice.org, you need
    rpm -Uvh --prefix //<where_ooo_should_go>/ <name_of_pack>.rpm

Please read the man page for the rpm that comes with your distribution and select the options that best apply to your situation. The examples above are only that, examples.

Installing individual components is the same as above but only requires the specific module be installed. For example, install all core rpms and then install those for each module you wish, such as, openoffice.org-impress-2.0.0-1.i586.rpm to install only Impress. Other modules may also be necessary.

Note: You may substitute -ihv for -Uhv in any of the above commands to install without upgrading.

Personal tools