#### Linux From Scratch - Version 7.9

### Chapter 6. Installing Basic System Software

- Prev

  GRUB-2.02~beta2

- Next

  Gzip-1.6

- Up
- Home

# 6.55. Less-481

The Less package contains a text file viewer.

Approximate build time: less than 0.1 SBU
Required disk space: 3.7 MB

## 6.55.1. Installation of Less

Prepare Less for compilation:

    ./configure --prefix=/usr --sysconfdir=/etc

The meaning of the configure options:

`--sysconfdir=/etc`

  This option tells the programs created by the package to look in `/etc` for the configuration files.

Compile the package:

    make

This package does not come with a test suite.

Install the package:

    make install

## 6.55.2. Contents of Less

Installed programs: less, lessecho, and lesskey

### Short Descriptions

less | A file viewer or pager; it displays the contents of the given file, letting the user scroll, find strings, and jump to marks
lessecho | Needed to expand meta-characters, such as * and ?, in filenames on Unix systems
lesskey | Used to specify the key bindings for less

- Prev

  GRUB-2.02~beta2

- Next

  Gzip-1.6

- Up
- Home