1 <sect1 id="ch-system-lfs-utils" xreflabel="Lfs-Utils">
2 <title>Installing Lfs-Utils-&lfs-utils-version;</title>
3 <?dbhtml filename="lfs-utils.html" dir="chapter06"?>
5 <para>The Lfs-Utils package contains a few helper files.</para>
7 <screen>&buildtime; &lfs-utils-time;
8 &diskspace; &lfs-utils-compsize;</screen>
13 <sect2><title> </title><para> </para></sect2>
16 <title>Installation of Lfs-Utils</title>
18 <para>Prepare Lfs-Utils for compilation:</para>
20 <screen><userinput>./configure --prefix=/usr --with-libc</userinput></screen>
22 <para>The meaning of the configure option:</para>
25 <listitem><para><userinput>--with-libc</userinput>: This causes the
26 <command>mktemp</command> program to use the <emphasis>mkstemp</emphasis>
27 and <emphasis>mkdtemp</emphasis> functions from the system C
28 library.</para></listitem>
31 <para>Compile the package:</para>
33 <screen><userinput>make</userinput></screen>
35 <para>And install it:</para>
37 <screen><userinput>make install</userinput></screen>
39 <para>Now copy two supporting files included in the Lfs-Utils tarball to
40 their destination:</para>
42 <screen><userinput>cp etc/{services,protocols} /etc</userinput></screen>
44 <para>The <filename>/etc/services</filename> file is used to resolve service
45 numbers to human-readable names, and the <filename>/etc/protocols</filename>
46 does the same for protocol numbers.</para>
50 &aa-lfs-utils-shortdesc;