Linux From Scratch
Prev | Chapter 6. Installing basic system software | Next

# Installing File

## Installation of File

Install File by running the following commands:

> `./configure --prefix=/usr --datadir=/usr/share/misc &&`
> `make &&`
> `make install`

## Contents

The File package contains the file program.

## Description

File tests each specified file in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed.

Prev | Home | Next
Installing Flex | Up | Installing Libtool