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

# Installing Groff-1.19

    Estimated build time:           0.4 SBU
    Estimated required disk space:  18 MB

## Contents of Groff

(Last checked against version 1.17.2.)

The Groff package includes several text processing programs for text formatting. Groff translates standard text and special commands into formatted output, such as what you see in a manual page.

Groff installs the following:

### Program Files

addftinfo, afmtodit, eqn, geqn (link to eqn), grn, grodvi, groff, grog, grolbp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit, indxbib, lkbib, lookbib, mmroff, neqn, nroff, pfbtops, pic, post-grohtml, pre-grohtml, refer, soelim, tbl, tfmtodit, troff and zsoelim (link to soelim)

##

## Groff Installation Dependencies

(Last checked against version 1.17.2.)

Bash: sh
Binutils: ar, as, ld, ranlib
Bison: bison
Coreutils: basename, cat, chmod, cp, date, echo, expr, hostname, install,
ln, ls, mkdir, mv, rm, touch, tr, uname
Diffutils: cmp
Gawk: awk
GCC: cc1, cc1plus, collect2, cpp0, g++, gcc
Grep: egrep, grep
Make: make
Sed: sed

##

## Installation of Groff

Groff expects the environment variable PAGE to contain the default paper size. For those in the United States, the command below is appropriate. If you live elsewhere, you may want to change PAGE=letter to PAGE=A4.

Prepare Groff for compilation:

    PAGE=letter ./configure --prefix=/usr

Compile the package:

    make

And install it:

    make install

Some documentation programs, such as `xman`, will not work work properly without the following symlinks:

    ln -s soelim /usr/bin/zsoelim
    ln -s eqn /usr/bin/geqn
    ln -s tbl /usr/bin/gtbl

Prev | Home | Next
Installing Less-381 | Up | Installing Sed-4.0.7