4.11. Bison

Bison is a parser generator used for some of Wireshark’s file format support.

4.11.1. UNIX or Cygwin: bison

Bison is available for most UNIX-like platforms and as the bison package from Cygwin. See the next section for native Windows options.

If GNU Bison isn’t already installed or available as a package for your platform you can get it at: http://www.gnu.org/software/bison/bison.html.

After correct installation running the following

$ bison --version

should result in something like:

bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Your version string may vary.

4.11.2. Windows Native: Win flex-bison and bison

A native Windows version of bison is available in the winflexbison Chocolatey package. Note that the executable is named win_bison.

Native packages are available from other sources such as GnuWin. They aren’t officially supported but should work.