blob: 4b3ec4d22f7ad3f6121d1f646346f63cfb875ede (
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
45
46
47
48
49
50
|
<sect1 id="ch06-findutils" xreflabel="Findutils">
<title>Installing Findutils-&findutils-version;</title>
<?dbhtml filename="findutils.html" dir="chapter06"?>
<para>The Findutils package contains programs to find files. The finding is
done either by doing a live recursive search through a directory tree, or by
consulting a previously set up database.</para>
<screen>Estimated build time: &findutils-time;
Estimated required disk space: &findutils-compsize;</screen>
&aa-findutils-down;
&aa-findutils-dep;
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installing Findutils</title>
<para>Prepare Findutils for compilation:</para>
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen>
<para>By default, the location of the updatedb database is in
<filename>/usr/var</filename>. To make the location of
<filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the
<emphasis>--localstatedir=/var/lib/misc</emphasis> option to
<userinput>configure</userinput>.</para>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>This package has a test suite available which can perform a number of
checks to ensure it built correctly. Should you choose to run it, the
following command will do so:</para>
<screen><userinput>make check</userinput></screen>
<para>And install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
&aa-findutils-shortdesc;
&aa-findutils-desc;
</sect1>
|