正:安裝

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

Jump to: navigation, search

摘要

這份文件提供 OpenOffice.org 2.0 及其承繼版本的安裝說明給使用者。

一般安裝資訊

由 OpenOffice.org 2.0 開始,本程式將使用作業系統本身的安裝系統來完成安裝程序。這代表你只需解開下載了的鏡像和執行系統本身的工具。

使用系統本身的安裝程序將能提供更好的程式安裝功能。

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