Difference between revisions of "正:安裝"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Linux上的安裝)
Line 1: Line 1:
 
__TOC__
 
__TOC__
  
==Linux 上的安裝==
+
==Overview==
===RPM===
+
<p>
<ol>
+
This document is designed to provide users with instructions on installing OpenOffice.org2.0 and its
<li>
+
successors on their systems.
為下載了的 OpenOffice.org 壓縮檔解除壓縮。現在來說,以下的指令會把 OpenOffice.org 的壓縮檔解除壓縮並放至所在的資料夾:<br />
+
</p>
<span style="color: blue;">tar xvzf OOo_2.0.0_LinuxIntel_install_zh-TW.tar.gz</span>
+
</li>
+
  
<li>
 
如您沒有在 /opt 中新增或更改文件之權的話,請在以 su 指令登入 root。
 
</li>
 
  
<li>
+
==General Installation Information==
以 cd 指令進入剛才解除了壓縮的 RPM 檔所在的資料夾。RPM 檔該在一個名為 RPMS 的資料夾內。
+
<p>
</li>
+
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.
 +
</p>
  
<li>
+
<p>
執行 <span style="color: blue;">rpm -Uvh *rpm</span> 來安裝在預設的 /opt 內。如困您想安裝在別的資料夾中的話,請用:<br />
+
Using the native installers will provide better upgrades et cetera.
<span style="color: blue;">rpm -Uvh --prefix /<您想把 OpenOffice.org 安裝到的資料夾位置>/ *.rpm</span><br/>
+
</p>
例:<span style="color: blue;">rpm -Uvh --prefix /home/myusername/</span>
+
  
<br /><br />
+
<p>
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.
+
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/
 +
</p>
  
<br /><br />
+
<p>
Note: Upgrade the core first and then upgrade the user interface. Separating steps 4 and 5 ensures a good upgrade.
+
Warning: Please keep in mind that upgrading from 1.1.x to any 2.0 release is NOT
</li>
+
recommended, keep the installation of each separate.
 +
</p>
  
<li>
 
cd into the desktop-integration directory and execute<br />
 
  
rpm -Uvh<br />
+
==RPM-based Installation==
 +
===Installation===
 +
<ol>
 +
<li>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 .
 +
</li>
  
for the menu rpm that applies to your system. For example, on a RedHat-based system, you would use<br />
+
<li>
 +
su to root, if necessary.
 +
</li>
  
rpm -Uvh openoffice.org-redhat-menus-<release>.noarch.rpm or similar.
+
<li>
</li>
+
cd into the directory with the unpacked image. This could be RPMS.
 +
</li>
 +
 
 +
<li>
 +
<p>
 +
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.
 +
</p>
 +
 
 +
<p>
 +
Note: Upgrade the core first and then upgrade the user interface. Separating steps 4 and 5 ensures a good upgrade.
 +
</p>
 +
</li>
  
<li>
+
<li>
Download and install any language packs needed for OpenOffice.org. For example, if you relocated Openoffice.org, you need<br />
+
cd into the desktop-integration directory and execute<br />
 +
rpm -Uvh for the menu rpm that applies to your system. For example, on a RedHat-based system, you would use<br />
 +
rpm -Uvh openoffice.org-redhat-menus-<release>.noarch.rpm or similar.
 +
</li>
  
rpm -Uvh --prefix //<where_ooo_should_go>/ <name_of_pack>.rpm
+
<li>
</li>
+
Download and install any language packs needed for OpenOffice.org. For example, if you relocated Openoffice.org, you need<br />
 +
rpm -Uvh --prefix //<where_ooo_should_go>/ <name_of_pack>.rpm
 +
</li>
 
</ol>
 
</ol>
  
 
<p>
 
<p>
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.
+
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.
 
</p>
 
</p>
  
 
<p>
 
<p>
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.
+
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.
 
</p>
 
</p>
  
 
<p>
 
<p>
Note: You may substitute -ihv for -Uhv in any of the above commands to install without upgrading.
+
Note: You may substitute -ihv for -Uhv in any of the above commands to install without upgrading.
 
</p>
 
</p>

Revision as of 06:15, 8 December 2005

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