directory is a local issue and should not affect the manner in which
any program is run.</P
><P
>This directory must not be used by installation programs: a
suitable temporary directory not in use by the system must be used
instead.</P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="OPTADDONAPPLICATIONSOFTWAREPACKAGES"
>/opt : Add-on application software packages</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="PURPOSE14"
>Purpose</A
></H3
><P
><TT
CLASS="FILENAME"
>/opt</TT
> is reserved for the installation of
add-on application software packages.</P
><P
>A package to be installed in <TT
CLASS="FILENAME"
>/opt</TT
> must
locate its static files in a separate
<TT
CLASS="FILENAME"
>/opt/&lt;package&gt;</TT
> or
<TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;</TT
> directory
tree, where <TT
CLASS="FILENAME"
>&lt;package&gt;</TT
> is a name that
describes the software package and
<TT
CLASS="FILENAME"
>&lt;provider&gt;</TT
> is the provider's LANANA
registered name.</P
></DIV
><DIV
CLASS="SECTION"
><HR><H3
CLASS="SECTION"
><A
NAME="REQUIREMENTS7"
>Requirements</A
></H3
><DIV
CLASS="INFORMALTABLE"
><P
></P
><A
NAME="AEN972"
></A
><TABLE
BORDER="0"
FRAME="void"
CLASS="CALSTABLE"
><COL><COL><THEAD
><TR
><TH
>Directory</TH
><TH
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
>&lt;package&gt;</TD
><TD
>Static package objects</TD
></TR
><TR
><TD
>&lt;provider&gt;</TD
><TD
>LANANA registered provider name</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
><P
>The directories <TT
CLASS="FILENAME"
>/opt/bin</TT
>,
<TT
CLASS="FILENAME"
>/opt/doc</TT
>, <TT
CLASS="FILENAME"
>/opt/include</TT
>,
<TT
CLASS="FILENAME"
>/opt/info</TT
>, <TT
CLASS="FILENAME"
>/opt/lib</TT
>, and
<TT
CLASS="FILENAME"
>/opt/man</TT
> are reserved for local system
administrator use. Packages may provide "front-end" files intended to
be placed in (by linking or copying) these reserved directories by the
local system administrator, but must function normally in the absence
of these reserved directories.</P
><P
>Programs to be invoked by users must be located in the directory
<TT
CLASS="FILENAME"
>/opt/&lt;package&gt;/bin</TT
> or under the
<TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;</TT
> hierarchy. If the package
includes UNIX manual pages, they must be located in
<TT
CLASS="FILENAME"
>/opt/&lt;package&gt;/share/man</TT
> or under the
<TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;</TT
> hierarchy, and the same
substructure as <TT
CLASS="FILENAME"
>/usr/share/man</TT
> must be
used.</P
><P
>Package files that are variable (change in normal operation)
must be installed in <TT
CLASS="FILENAME"
>/var/opt</TT
>. See the section
on <TT
CLASS="FILENAME"
>/var/opt</TT
> for more information.</P
><P
>Host-specific configuration files must be installed in
<TT
CLASS="FILENAME"
>/etc/opt</TT
>. See the section on
<TT
CLASS="FILENAME"
>/etc</TT
> for more information.</P
><P
>No other package files may exist outside the
<TT
CLASS="FILENAME"
>/opt</TT
>, <TT
CLASS="FILENAME"
>/var/opt</TT
>, and
<TT
CLASS="FILENAME"
>/etc/opt</TT
> hierarchies except for those package
files that must reside in specific locations within the filesystem
tree in order to function properly. For example, device lock files
must be placed in <TT
CLASS="FILENAME"
>/var/lock</TT
> and devices must be
located in <TT
CLASS="FILENAME"
>/dev</TT
>.</P
><P
>Distributions may install software in <TT
CLASS="FILENAME"
>/opt</TT
>,
but must not modify or delete software installed by the local system
administrator without the assent of the local system
administrator.</P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Rationale</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The use of <TT
CLASS="FILENAME"
>/opt</TT
> for add-on software is a
well-established practice in the UNIX community. The System V
Application Binary Interface [AT&amp;T 1990], based on the System V
Interface Definition (Third Edition), provides for an
<TT
CLASS="FILENAME"
>/opt</TT
> structure very similar to the one defined
here.</P
><P
>The Intel Binary Compatibility Standard v. 2 (iBCS2) also
provides a similar structure for <TT
CLASS="FILENAME"
>/opt</TT
>.</P
><P
>Generally, all data required to support a package on a system
must be present within <TT
CLASS="FILENAME"
>/opt/&lt;package&gt;</TT
>,
including files intended to be copied into
<TT
CLASS="FILENAME"
>/etc/opt/&lt;package&gt;</TT
> and
<TT
CLASS="FILENAME"
>/var/opt/&lt;package&gt;</TT
> as well as reserved
directories in <TT
CLASS="FILENAME"
>/opt</TT
>.</P
><P
>The minor restrictions on distributions using
<TT
CLASS="FILENAME"
>/opt</TT
> are necessary because conflicts are possible
between distribution-installed and locally-installed software,
especially in the case of fixed pathnames found in some binary
software.</P
><P
>The structure of the directories below
<TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;</TT
> is left up to the packager
of the software, though it is recommended that packages are installed
in <TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;/&lt;package&gt;</TT
> and
follow a similar structure to the guidelines for
<TT
CLASS="FILENAME"
>/opt/package</TT
>. A valid reason for diverging from
this structure is for support packages which may have files installed
in <TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;/lib</TT
> or
<TT
CLASS="FILENAME"
>/opt/&lt;provider&gt;/bin</TT
>.</P
></TD
></TR
></TABLE
></DIV
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="ROOTHOMEDIRECTORYFORTHEROOTUSER"
>/root : Home directory for the root user (optional)</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="PURPOSE15"
>Purpose</A
></H3
><P
>The root account's home directory may be determined by developer
or local preference, but this is the recommended default
location.

<A
NAME="AEN1037"
HREF="#FTN.AEN1037"
><SPAN
CLASS="footnote"
>[17]</SPAN
></A
></P
></DIV
></DIV
><DIV
CLASS="SECTION"
><HR><H2
CLASS="SECTION"
><A
NAME="SBINSYSTEMBINARIES"
>/sbin : System binaries</A

Prev | Next
Pg.: 1 ... 5 6 7 8 9 10 11 12 13 14 15 ... 30


Back to home | File page

Subscribe | Register | Login | N