aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/less-inst.xml
blob: 07765756f1dce0425d1f09ce1eaf6260dc16a983 (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
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Less</title>

<para>Prepare Less for compilation:</para>

<para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para>

<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>

<para><screen><userinput>make</userinput></screen></para>

<para>And install it:</para>

<para><screen><userinput>make install</userinput></screen></para>

</sect2>