又吉です。 Run_OOo_versions_parallel http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel の翻訳の続きです。 査読をお願いします。
-------------------- Before starting, make sure you have GNU tar (http://www.gnu.org/software/tar/), rpm2cpio (http://www.rpm.org/) and GNU cpio (http://www.gnu.org/software/cpio/cpio.html). 作業を行う前に GNUtar (http://www.gnu.org/software/tar/)、 rpm2cpio (http://www.rpm.org/) と、 GNUcpio (http://www.gnu.org/software/cpio/cpio.html) がインストールされているこ とを確認してください。 In the following example we will "install" ここでは次のファイルの "インストール" を例に説明します。 OOo_2.4.0_LinuxIntel_install_en-US.tar.gz that has been downloaded in the directory 次のディレクトリにダウンロードを行いました。 /home/ユーザー名/download/ooo/ # cd to the folder where you downloaded the *.tar.gz file # in this example we downloaded # the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz # in the folder /home/user/download/ooo/ # cd コマンドで *.tar.gz ファイルを保存した場所に移動します。 # この例では次のファイルと場所を使用します。 # ファイルは OOo_2.4.0_LinuxIntel_install_en-US.tar.gz # 場所は /home/ユーザー名/download/ooo/ です。 ~> cd download/ooo/ # make a temp dir to extract the file content # in this example we name it TEMP_INST # ファイルを抽出するための一時作業用フォルダを作成します。 # ここではフォルダ名を TEMP_INST とします。 ~/download/ooo> mkdir TEMP_INST # cd to that temp folder # 作業用フォルダに移動します。 ~/download/ooo> cd TEMP_INST/ # extract the file content # ファイルを抽出します。 ~/download/ooo/TEMP_INST> tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example download/ooo/TEMP_INST/RPMS/). これで一時作業用フォルダに tar ボールを解凍しました。 注意としては OpenOffice.org のバージョンの違いによってはフォルダ構成が異なるかもしれ ません。古いバージョンでは TEMP_INST の RPMS フォルダに解凍されました。 (例えば download/ooo/TEMP_INST/RPMS/ です。) Recent versions have a root directory named according to the build number; in our example the root directory is OOH680_m12_native_packed-1_en-US.9286. 最近のバージョンでは、 ビルド番号を付けたルートフォルダにに解凍されま す。この例では、 OOH680_m12_native_packed-1_en-US.9286 です。 We need to cd the RPMS inside this root, where all the rpms are located. cd で (全ての rpm ファイルがある) RPMS フォルダに移動する必要があります。 # now we have to create another temp dir to extract all the RPMs files # contained in the RPMS folder # Some older versions created only a RPMS folder in the dir # where we unpacked, for example download/ooo/TEMP_INST/RPMS/ # In this example the root directory begins with the build name # RPMS フォルダに含まれた全ての RPM ファイルを抽出するために新たに、 # 一時作業用フォルダを作成しなければいけません。 # いくつかの古いバージョンは TEMP_INST 以下に RPMS フォルダのみ作成します。 # この例ではルートディレクトリをビルド名からはじめます。 ~/download/ooo/TEMP_INST> cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ # in the following we will shorten the dir name # instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS> # we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS> # これ以降の説明では # ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS> を # ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS> と省略表記します。 # make a temp dir where to extract OpenOffice.org installation root directory # OpenOffice.org のインストールファイルのルートフォルダに一時作業用の フォルダを作成してください。 ~/download/ooo/TEMP_INST/OOH680_m12.../RPMS> mkdir TEMP_ROOT ~/download/ooo/TEMP_INST/OOH680_m12.../RPMS> cd TEMP_ROOT/ # extract the RPMs # RPM ファイルを抽出する ~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT> for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done With this procedure we will find in この手順で /home/ユーザー名/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en- US.9286/RPMS/TEMP_ROOT フォルダに OpenOffice.org のルートフォルダを見つ けられるでしょう。 all the root directory: ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/ Now you just have to copy or move that root directory wherever you want. 任意の場所にルートフォルダを移動またはコピーしなければなりません。 ~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT>cd opt # make sure not to precede "opt" with a slash, as in /opt # because this will point to the folder where resides the main installation # in /opt/openoffice.org2.4/ # "opt" の前にスラッシュを付けないでください。つまり /opt としないでくだ さい。 # スラッシュを付けてしまうとインストールされている /opt/openoffice.org2.4 を指定することになります。 # in this example we "install" the new version on home/user/openoffice.org2.4 # この例では /home/ユーザー名/openoffice.org2.4 にインストールを行います。 ~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt> mv openoffice.org2.4 ~ And finally remove all the temporary files 最後に一時作業用のフォルダを削除します。 -------------------- 以上です。よろしくお願いします。 --------------- N.Matayoshi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
