10.49. Less-394

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-PowerPC64-Multilib

### Chapter 10. Installing Basic System Software

- Prev

  Kbd-1.12

- Next

  Make-3.81

- Up.
- Home

# 10.49. Less-394

The Less package contains a text file viewer.

## 10.49.1. Installation of Less

Prepare Less for compilation:

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

The meaning of the configure option:

`--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

Move less to /bin:

    mv -v /usr/bin/less /bin

## 10.49.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

  Kbd-1.12

- Next

  Make-3.81

- Up.
- Home.