1
0

less.xml 1.0 KB

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