LDP/LDP/retired/LFS/chapter06/less.xml

40 lines
974 B
XML

<sect1 id="ch06-less">
<title>Installing Less-&less-version;</title>
<?dbhtml filename="less.html" dir="chapter06"?>
<screen>Estimated build time: &less-time;
Estimated required disk space: &less-compsize;</screen>
&aa-less-shortdesc;
&aa-less-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Less</title>
<para>Prepare Less for compilation:</para>
<screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen>
<para>The meaning of the configure option:</para>
<itemizedlist>
<listitem><para><userinput>--sysconfdir=/etc</userinput>: This option tells the
programs created by the package to look in <filename>/etc</filename> for their
configuration files.</para></listitem>
</itemizedlist>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>And install it:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
</sect1>