#### Linux From Scratch - Version r13.0-6

### Chapter 8. Installing Basic System Software

- Prev

  Gettext-1.0

- Next

  Grep-3.12

- Up
- Home

# 8.35. Bison-3.8.2

The Bison package contains a parser generator.

Approximate build time: 2.1 SBU
Required disk space: 63 MB

## 8.35.1. Installation of Bison

Prepare Bison for compilation:

    ./configure --prefix=/usr --docdir=/usr/share/doc/bison-3.8.2

Compile the package:

    make

To test the results, issue:

    make check

Install the package:

    make install

## 8.35.2. Contents of Bison

Installed programs: bison and yacc
Installed library: liby.a
Installed directory: /usr/share/bison

### Short Descriptions

bison | Generates, from a series of rules, a program for analyzing the structure of text files; Bison is a replacement for Yacc (Yet Another Compiler Compiler)
yacc | A wrapper for bison, meant for programs that still call yacc instead of bison; it calls bison with the `-y` option
`liby` | The Yacc library containing implementations of Yacc-compatible `yyerror` and `main` functions; this library is normally not very useful, but POSIX requires it

- Prev

  Gettext-1.0

- Next

  Grep-3.12

- Up
- Home