lfs/chapter06/less.xml
Alex Gronenwoud 5888299528 Moving stuff from appendix A to chapter 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3161 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2004-01-12 23:23:50 +00:00

45 lines
1.1 KiB
XML

<sect1 id="ch06-less" xreflabel="Less">
<title>Installing Less-&less-version;</title>
<?dbhtml filename="less.html" dir="chapter06"?>
<para>The Less package contains a text file viewer.</para>
<screen>Estimated build time: &less-time;
Estimated required disk space: &less-compsize;</screen>
&aa-less-down;
&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>
&aa-less-shortdesc;
&aa-less-desc;
</sect1>