10.27. File-4.17

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc1-MIPS

### Chapter 10. Installing Basic System Software

- Prev

  E2fsprogs-1.39

- Next

  Findutils-4.2.27

- Up.
- Home

# 10.27. File-4.17

The File package contains a utility for determining the type of a given file or files.

## 10.27.1. Installation of file

This patch updates `config.guess` and `config.sub` for MIPS processors.

    patch -Np1 -i ../file-4.17-config_update-1.patch

Prepare File for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

This package does not come with a test suite.

Install the package:

    make install

## 10.27.2. Contents of File

Installed programs: file
Installed library: libmagic.[a,so]

### Short Descriptions

file | Tries to classify each given file; it does this by performing several tests—file system tests, magic number tests, and language tests
`libmagic` | Contains routines for magic number recognition, used by the file program

- Prev

  E2fsprogs-1.39

- Next

  Findutils-4.2.27

- Up.
- Home.