# Findutils-&findutils-version;

## Installation of Findutils

    CC="gcc ${BUILD64}" ./configure --prefix=/usr \
        --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate

## The meaning of the configure options:

`--localstatedir`

- This option changes the location of the `locate` database to be in `/var/lib64/locate`, which is FHS-compliant.

## Contents of Findutils

Installed programs
- bigram, code, find, frcode, locate, updatedb, and xargs

Short Descriptions

`bigram`

- Was formerly used to produce `locate` databases

`code`

- Was formerly used to produce `locate` databases; it is the ancestor of `frcode`.

`find`

- Searches given directory trees for files matching the specified criteria

`frcode`

- Is called by `updatedb` to compress the list of file names; it uses front-compression, reducing the database size by a factor of four to five.

`locate`

- Searches through a database of file names and reports the names that contain a given string or match a given pattern

`updatedb`

- Updates the `locate` database; it scans the entire file system (including other file systems that are currently mounted, unless told not to) and puts every file name it finds into the database

`xargs`

- Can be used to apply a given command to a list of files