aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/less.xml
blob: 4806ea701a3b1ea5c41e8e2ab74a9d23d59d1504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<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>&buildtime; &less-time;
&diskspace; &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>