Linux From Scratch: Version 5.0-pre2
Prev | Chapter 6. Installing basic system software | Next

# Installing Less-381

    Estimated build time:           0.1 SBU
    Estimated required disk space:  2 MB

## Contents of Less

(Last checked against version 374.)

Less is a file pager, or text viewer. It displays the contents of a file, or stream, and has the ability to scroll. Less has a few features not included in the `more` pager, such as the ability to scroll backwards.

Less installs the following:

### Program Files

less, lessecho and lesskey

##

## Less Installation Dependencies

(Last checked against version 358.)

Bash: sh
Binutils: as, ld
Coreutils: cat, chmod, expr, hostname, install, mv, rm, touch, tr, uname
Diffutils: cmp
Grep: egrep, grep
GCC: cc1, collect2, cpp0, gcc
Ncurses: (libraries)
Make: make
Sed: sed

##

## Installation of Less

Prepare Less for compilation:

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

The meaning of the configure option:

- `--sysconfdir=/etc`: This option tells the programs created by the package to look in `/etc` for their configuration files.

Compile the package:

    make

And install it:

    make install

Prev | Home | Next
Installing Bison-1.875 | Up | Installing Groff-1.19