Difference between revisions of "正:安裝"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Linux上的安裝)
(分类调整)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__TOC__
 
__TOC__
  
==Linux 上的安裝==
+
==摘要==
===RPM===
+
<p>
<ol>
+
這份文件提供 OpenOffice.org 2.0 及其承繼版本的安裝說明給使用者。
<li>
+
</p>
為下載了的 OpenOffice.org 壓縮檔解除壓縮。現在來說,以下的指令會把 OpenOffice.org 的壓縮檔解除壓縮並放至所在的資料夾:<br />
+
<span style="color: blue;">tar xvzf OOo_2.0.0_LinuxIntel_install_zh-TW.tar.gz</span>
+
</li>
+
  
<li>
+
==一般安裝資訊==
如您沒有在 /opt 中新增或更改文件之權的話,請在以 su 指令登入 root。
+
<p>
</li>
+
由 OpenOffice.org 2.0 開始,本程式將使用作業系統本身的安裝系統來完成安裝程序。這代表你只需解開下載了的鏡像和執行系統本身的工具。
 +
</p>
  
<li>
+
<p>
以 cd 指令進入剛才解除了壓縮的 RPM 檔所在的資料夾。RPM 檔該在一個名為 RPMS 的資料夾內。
+
使用系統本身的安裝程序將能提供更好的程式安裝功能。
</li>
+
</p>
  
<li>
+
<p>
執行 <span style="color: blue;">rpm -Uvh *rpm</span> 來安裝在預設的 /opt 內。如困您想安裝在別的資料夾中的話,請用:<br />
+
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
<span style="color: blue;">rpm -Uvh --prefix /<您想把 OpenOffice.org 安裝到的資料夾位置>/ *.rpm</span><br/>
+
appropriate release. For example,
例:<span style="color: blue;">rpm -Uvh --prefix /home/myusername/</span>
+
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0rc2/
 +
</p>
  
<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.
+
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.
 +
</p>
  
<br /><br />
+
==RPM-based Installation==
Note: Upgrade the core first and then upgrade the user interface. Separating steps 4 and 5 ensures a good upgrade.
+
===Installation===
</li>
+
<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>
  
<li>
+
<li>
cd into the desktop-integration directory and execute<br />
+
su to root, if necessary.
 +
</li>
  
rpm -Uvh<br />
+
<li>
 +
cd into the directory with the unpacked image. This could be RPMS.
 +
</li>
  
for the menu rpm that applies to your system. For example, on a RedHat-based system, you would use<br />
+
<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>
  
rpm -Uvh openoffice.org-redhat-menus-<release>.noarch.rpm or similar.
+
<p>
</li>
+
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>
 +
 +
[[Category:ZH]]
 +
[[Category:中文]]

Latest revision as of 14:26, 24 December 2007

摘要

這份文件提供 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