mirror of https://github.com/tLDP/LDP
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<sect2>
|
|
<title>Installing Findutils</title>
|
|
|
|
<para>This package requires its patch to be applied before you can
|
|
install it. Make sure it's unpacked before running the installation
|
|
commands.</para>
|
|
|
|
<para>Install Findutils by running the following commands:</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
|
|
./configure --prefix=/usr &&
|
|
make libexecdir=/usr/bin &&
|
|
make libexecdir=/usr/bin install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
<sect2>
|
|
<title>FHS compliance notes</title>
|
|
|
|
<para>By default, the location of the updatedb database is in /usr/var.
|
|
If you would rather be FHS compliant, you may wish to use another
|
|
location. The following commands use the database file
|
|
<filename>/var/lib/misc/locatedb</filename> which is FHS compliant.</para>
|
|
|
|
<para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &&
|
|
./configure --prefix=/usr &&
|
|
make localstatedir=/var/lib/misc libexecdir=/usr/bin &&
|
|
make localstatedir=/var/lib/misc libexecdir=/usr/bin install</userinput></screen></para>
|
|
|
|
</sect2>
|