lfs/chapter06/perl-inst.xml

32 lines
999 B
XML
Raw Normal View History

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Perl</title>
<para>Prepare Perl for compilation:</para>
<para><screen><userinput>./configure.gnu --prefix=/usr</userinput></screen></para>
<para>If you want more control over the way Perl sets itself up to be
built, you can run the interactive <userinput>Configure</userinput> script
instead and modify the way Perl is built. If you think you can live with the
(sensible) defaults Perl auto-detects, then just use the command listed
above.</para>
<para>Compile the package:</para>
<para><screen><userinput>make</userinput></screen></para>
<para>This package has a test suite available which can perform a number of
checks to ensure it built correctly. Should you choose to run it, the
following command will do so:</para>
<para><screen><userinput>make test</userinput></screen></para>
<para>And install the package:</para>
<para><screen><userinput>make install</userinput></screen></para>
</sect2>