10.60. File-5.19 64 Bit

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

10.60.1. Installation of File

Prepare File for compilation:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \

Compile the package:


To test the results, issue:

make check

Install the package:

make install

10.60.2. Contents of File

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

Short Descriptions


Tries to classify each given file; it does this by performing several tests—file system tests, magic number tests, and language tests


Contains routines for magic number recognition, used by the file program