6.16. Installing Findutils-4.1

Estimated build time:           0.10 SBU
Estimated required disk space:  3 MB

6.16.1. Installing Findutils

This package requires its patch to be applied before you can install it. Make sure it's unpacked before running the installation commands.

Install Findutils by running the following commands:

patch -Np1 -i ../findutils-4.1.patch &&
./configure --prefix=/usr &&
make libexecdir=/usr/bin &&
make libexecdir=/usr/bin install

6.16.2. FHS compliance notes

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 /var/lib/misc/locatedb which is FHS compliant.

patch -Np1 -i ../findutils-4.1.patch &&
./configure --prefix=/usr &&
make localstatedir=/var/lib/misc libexecdir=/usr/bin &&
make localstatedir=/var/lib/misc libexecdir=/usr/bin install

6.16.3. Command explanations

patch -Np1 -i ../findutils-4.1.patch: This patch is to fix some compilation errors by avoiding a variable conflict and changing some bad syntax.

6.16.4. Contents of Findutils

Last checked against version 4.1.

6.16.4.2. Descriptions

6.16.5. Findutils Installation Dependencies

Last checked against version 4.1.

Bash: sh
Binutils: ar, as, ld, ranlib
Diffutils: cmp
Fileutils: chmod, cp, install, mv, rm
Grep: egrep, grep
Gcc: cc1, collect2, cpp0, gcc
Make: make
Patch: patch
Sed: sed
Sh-utils: basename, date, echo, hostname
Textutils: cat, tr