Merge the following from the English version:

1.128 -> 1.130	books/handbook/ports/chapter.sgml

Submitted by:	Ryusuke Suzuki <ryusuke at nucl dot sci dot hokudai dot ac dot jp>
References:	[doc-jp-work 897]
This commit is contained in:
Hideyuki KURASHINA 2004-09-19 17:16:15 +00:00
parent 7e639cab9c
commit 5d11cd7fee
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22395

View file

@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Japanese Documentation Project
Original revision: 1.128
Original revision: 1.130
$FreeBSD$
-->
@ -12,6 +12,8 @@
<sect1>
<title>この章では</title>
<indexterm><primary>ports</primary></indexterm>
<indexterm><primary>packages</primary></indexterm>
<para>FreeBSD の基本システムだけでは、
それほどたくさんのことを行うことはできません。
もしあなたがオペレーティングシステムの開発者であれば、
@ -262,7 +264,14 @@
<sect2>
<title>package のインストール</title>
<indexterm>
<primary>packages</primary>
<secondary>インストール</secondary>
</indexterm>
<indexterm>
<primary><command>pkg_add</command></primary>
</indexterm>
<para>&man.pkg.add.1; は、ローカルファイルやネットワーク上のサーバから
FreeBSD ソフトウェア package を
インストールするためのユーティリティです。</para>
@ -303,6 +312,8 @@ local: xchat-1.7.1.tgz remote: xchat-1.7.1.tgz
package を FTP サイトからダウンロードしてインストールします。
</para>
<indexterm>
<primary><command>pkg_add</command></primary></indexterm>
<screen>&prompt.root; <userinput>pkg_add -r <replaceable>xchat-1.7.1</replaceable></userinput></screen>
<para>適当な package がダウンロードされた後、インストールされます。
@ -331,6 +342,13 @@ local: xchat-1.7.1.tgz remote: xchat-1.7.1.tgz
<sect2>
<title>package の削除</title>
<screen>&prompt.root <userinput>pkg_delete <replaceable>xchat-1.7.1</replaceable></userinput></screen>
<indexterm>
<primary><command>pkg_delete</command></primary>
</indexterm>
<indexterm>
<primary>packages</primary>
<secondary>削除</secondary>
</indexterm>
<para>&man.pkg.delete.1; は、インストールされている
package を削除するためのユーティリティです。
</para>
@ -339,12 +357,19 @@ local: xchat-1.7.1.tgz remote: xchat-1.7.1.tgz
<sect2>
<title>packages の管理</title>
<indexterm>
<primary>packages</primary>
<secondary>管理</secondary>
</indexterm>
<para>&man.pkg.info.1; は、インストールされている
packages の一覧と説明を表示するユーティリティです。
</para>
<indexterm>
<primary><command>pkg_info</command></primary>
</indexterm>
<screen>&prompt.root <userinput>pkg_info</userinput>
cvsup-bin-16.1 A general network file distribution system optimized for CV
cvsup-16.1 A general network file distribution system optimized for CV
docbook-1.2 Meta-port for the different versions of the DocBook DTD
...</screen>
<para>&man.pkg.version.1; は、インストールされている
@ -353,7 +378,7 @@ docbook-1.2 Meta-port for the different versions of the DocBook DTD
比較します。
</para>
<screen>&prompt.root <userinput>pkg_version</userinput>
cvsup-bin =
cvsup =
docbook =
...</screen>
@ -420,6 +445,10 @@ docbook =
<sect2 id="ports-skeleton">
<title>ports のインストール</title>
<indexterm>
<primary>ports</primary>
<secondary>インストール</secondary>
</indexterm>
<para>一番最初に知らなければならないのは、
Ports Collection は <quote>スケルトン</quote>
と呼ばれるもので構成されているという事実です。
@ -557,8 +586,12 @@ R-deps: XFree86-3.3.5 gettext-0.10.35 giflib-4.1.0 glib-1.2.6 gtk-1.2.6 imlib-1.
実際のインストールに移ることができます。</para>
<sect3 id="ports-cd">
<title>CD-ROM からのコンパイル</title>
<title>CD-ROM からの ports のインストール</title>
<indexterm>
<primary>ports</primary>
<secondary>CD-ROM からのインストール</secondary>
</indexterm>
<para>タイトルから想像できると思いますが、
このセクションで説明する内容は、FreeBSD の
CDROM セットを持っていることを前提としています。
@ -649,7 +682,7 @@ R-deps: XFree86-3.3.5 gettext-0.10.35 giflib-4.1.0 glib-1.2.6 gtk-1.2.6 imlib-1.
</sect3>
<sect3 id="ports-inet">
<title>インターネット経由での ports のコンパイル</title>
<title>インターネット経由での ports のインストール</title>
<para>前セクションと同じように、このセクションでは、
インターネットへの接続が可能であることを前提としています。
@ -712,6 +745,10 @@ Receiving xchat-1.3.8.tar.bz2 (305543 bytes): 100%
<sect2 id="ports-removing">
<title>インストールされた ports の削除</title>
<indexterm>
<primary>ports</primary>
<secondary>削除</secondary>
</indexterm>
<para>ports のインストール方法について知ればおそらく、
インストールの後になって、それが間違っていたことに気付いた時などに備えて
それらを削除する方法はどうすれば良いのか疑問に感じることでしょう。
@ -793,6 +830,7 @@ Receiving xchat-1.3.8.tar.bz2 (305543 bytes): 100%
</answer>
</qandaentry>
<indexterm><primary>tarball</primary></indexterm>
<qandaentry>
<question>
<para id="ports-tarball">tarball とは一体何ですか?</para>
@ -829,6 +867,7 @@ Receiving xchat-1.3.8.tar.bz2 (305543 bytes): 100%
</answer>
</qandaentry>
<indexterm><primary>checksum</primary></indexterm>
<qandaentry>
<question>
<para id="ports-checksum">チェックサムとは何ですか?</para>