less.xml 974 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <sect1 id="ch06-less">
  2. <title>Installing Less-&less-version;</title>
  3. <?dbhtml filename="less.html" dir="chapter06"?>
  4. <screen>Estimated build time: &less-time;
  5. Estimated required disk space: &less-compsize;</screen>
  6. &aa-less-shortdesc;
  7. &aa-less-dep;
  8. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  9. <sect2>
  10. <title>Installation of Less</title>
  11. <para>Prepare Less for compilation:</para>
  12. <screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen>
  13. <para>The meaning of the configure option:</para>
  14. <itemizedlist>
  15. <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option tells the
  16. programs created by the package to look in <filename>/etc</filename> for their
  17. configuration files.</para></listitem>
  18. </itemizedlist>
  19. <para>Compile the package:</para>
  20. <screen><userinput>make</userinput></screen>
  21. <para>And install it:</para>
  22. <screen><userinput>make install</userinput></screen>
  23. </sect2>
  24. </sect1>