<< Back to man.ChinaUnix.net

6.26. Less-382

The Less package contains a text file viewer.

Approximate build time: 0.1 SBU

Required disk space: 3.4 MB

Less installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed

6.26.1. Installation of Less

Prepare Less for compilation:

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

The meaning of the configure option:


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

Compile the package:


Install the package:

make install

6.26.2. Contents of Less

Installed programs: less, lessecho, and lesskey

Short Descriptions


a file viewer or pager; it displays the contents of the given file, letting the user scroll, find strings, and jump to marks


needed to expand meta-characters, such as * and ?, in filenames on Unix systems


used to specify the key bindings for less