6.12. File-5.28

#### Linux From Scratch - Version 7.10-rc1

### Chapter 6. Installing Basic System Software

- Prev

  Zlib-1.2.8

- Next

  Binutils-2.27

- Up
- Home

# 6.12. File-5.28

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

Approximate build time: 0.1 SBU
Required disk space: 15 MB

## 6.12.1. Installation of File

Prepare File for compilation:

    ./configure --prefix=/usr

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

## 6.12.2. Contents of File

Installed programs: file
Installed library: libmagic.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

  Zlib-1.2.8

- Next

  Binutils-2.27

- Up
- Home