HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/debian-policy/perl-policy.html/ch-site.html
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Chapter 3. Locally Installed Modules</title>
    <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" />
    <link rel="home" href="index.html" title="Debian Perl Policy" />
    <link rel="up" href="index.html" title="Debian Perl Policy" />
    <link rel="prev" href="ch-perl.html" title="Chapter 2. Perl Packaging" />
    <link rel="next" href="ch-module_packages.html" title="Chapter 4. Packaged Modules" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Chapter 3. Locally Installed Modules</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ch-perl.html">Prev</a> </td>
          <th width="60%" align="center"> </th>
          <td width="20%" align="right"> <a accesskey="n" href="ch-module_packages.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="chapter">
      <div class="titlepage">
        <div>
          <div>
            <h1 class="title"><a id="ch-site"></a>Chapter 3. Locally Installed Modules</h1>
          </div>
        </div>
      </div>
      <div class="toc">
        <p>
          <strong>Table of Contents</strong>
        </p>
        <dl class="toc">
          <dt>
            <span class="section">
              <a href="ch-site.html#s-site-dirs">3.1. Site Directories</a>
            </span>
          </dt>
          <dt>
            <span class="section">
              <a href="ch-site.html#s-site-install">3.2. Site Installation</a>
            </span>
          </dt>
        </dl>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title" style="clear: both"><a id="s-site-dirs"></a>3.1. Site Directories</h2>
            </div>
          </div>
        </div>
        <p>
        The Perl packages must provide a mechanism for the local
        administrator to install modules under
        <code class="filename">/usr/local</code> but must not create or remove
        those directories.
      </p>
        <p>
        Modules should be installed to the directories described above in
        <a class="xref" href="ch-perl.html#s-paths" title="2.3. Module Path">Section 2.3, “Module Path”</a> as <em class="replaceable"><code>site</code></em>
        (current), programs to <code class="filename">/usr/local/bin</code> and
        manual pages under <code class="filename">/usr/local/man</code>.
      </p>
      </div>
      <div class="section">
        <div class="titlepage">
          <div>
            <div>
              <h2 class="title" style="clear: both"><a id="s-site-install"></a>3.2. Site Installation</h2>
            </div>
          </div>
        </div>
        <p>
        The following commands should be sufficient in the majority of
        cases for the local administrator to install modules and must
        create directories as required:
      </p>
        <pre class="screen">
perl Makefile.PL
make install</pre>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ch-perl.html">Prev</a> </td>
          <td width="20%" align="center"> </td>
          <td width="40%" align="right"> <a accesskey="n" href="ch-module_packages.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Chapter 2. Perl Packaging </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Chapter 4. Packaged Modules</td>
        </tr>
      </table>
    </div>
  </body>
</html>