macOS
brew install bisonlocal Homebrew formula metadata
sudo port install bisonMacPorts ports tree · devel/bison/Portfile · source: api.github.com
brew
Parser generator. Version 3.8.2 via Homebrew; verified 2026-06-13.
install
brew install bisonlocal Homebrew formula metadata
sudo port install bisonMacPorts ports tree · devel/bison/Portfile · source: api.github.com
sudo apk add bisonAlpine Linux edge package indexes · bison · source: dl-cdn.alpinelinux.org
sudo apt install bisonDebian stable package indexes · bison · source: deb.debian.org
sudo dnf install bisonFedora Rawhide package metadata · bison · source: dl.fedoraproject.org
nix profile install nixpkgs#bisonnixpkgs package indexes · pkgs/by-name/bi/bison/package.nix · source: api.github.com
sudo pacman -S bisonArch Linux sync databases · bison · source: geo.mirror.pkgbuild.com
sudo zypper install bisonopenSUSE Tumbleweed package metadata · bison · source: download.opensuse.org
scoop install main/bisonScoop official bucket manifest trees · bucket/bison.json · source: api.github.com
overview
Parser generator
history
GNU Bison is GNU's parser generator: a source-compatible successor to the classic Unix yacc workflow that reads a grammar and produces parser code. In package-manager culture it is one of the canonical build-time tools that appears quietly in dependency graphs for compilers, shells, interpreters, database tools, and other software with real grammars.
Bison began as a GNU replacement for yacc, the parser generator associated with early Unix compiler construction. The GNU manual credits Robert Corbett's public-domain parser generator as the starting point and Richard Stallman with making it into Bison, with later development by GNU maintainers including Wilfred Hansen, Tom Tromey, Akim Demaille, Paul Eggert, and others.
The project kept yacc compatibility as a central design goal while adding GNU extensions, better diagnostics, multiple parser skeletons, GLR parsing support, internationalized diagnostics, and support for modern C and C++ parser workflows. That combination made it both a historical compatibility tool and an actively maintained compiler-construction utility.
Bison was adopted because it let free software projects build yacc-style parsers without relying on proprietary Unix yacc implementations. Autoconf-era source packages commonly checked for bison or yacc, and many distributions install Bison as part of their developer-tool stack.
The package metadata in this batch shows Bison available through Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, Scoop, and openSUSE. That breadth reflects its role as infrastructure: many users never invoke bison directly, but their package builds do.
Bison is usually run during a build or release process: a maintainer writes a grammar file, Bison generates parser source, and the generated code is compiled into the consuming program. It is also installed as yacc on some systems or used through a yacc-compatible wrapper for software that expects the historical command name.
Its common neighbors are Flex or lex for tokenization, Autotools for build orchestration, and compilers such as GCC or Clang for the generated parser code. Packagers care about whether projects ship generated parsers in release tarballs or require Bison at build time.
Bison is package-nerd bedrock because it explains a surprisingly large class of build failures: wrong Bison version, missing yacc compatibility, regenerated parser files changing generated C, or release tarballs that assume maintainers have GNU parser tools installed.
It is also a living link between early Unix language tooling and modern reproducible builds. A package can depend on it for one generated file, but that file may define the grammar of a shell, language, configuration format, or SQL dialect.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bison | cli | global executable | |
yacc | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/bison/
install metadata
| Package key | brew:bison |
|---|---|
| Version | 3.8.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bison |
| Homepage | https://www.gnu.org/software/bison/ |
| Repository | https://git.savannah.gnu.org/git/bison.git |
| Upstream docs | https://www.gnu.org/software/bison |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/bison/bison-3.8.2.tar.xz |
| Last updated | 2026-06-13T01:03:19+02:00 |
| Pulse | updated |
| Uses from macOS | m4 |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bison |
| Aliases |
|
| Version Scheme | 1 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bison 2:3.8.2+dfsg-1+b2
YACC-compatible parser generator
https://www.gnu.org/software/bison/
sudo apt install bisonbison++ 1.21.11-5+b1
Generate a parser in c or c++ from BNF notation
sudo apt install bison++libbison-dev 2:3.8.2+dfsg-1+b2
YACC-compatible parser generator - development library
https://www.gnu.org/software/bison/
sudo apt install libbison-devbison
nix profile install nixpkgs#bisonbison 2:3.8.2+dfsg-1build2
YACC-compatible parser generator
https://www.gnu.org/software/bison/
sudo apt install bisonbison++ 1.21.11-5
Generate a parser in c or c++ from BNF notation
sudo apt install bison++libbison-dev 2:3.8.2+dfsg-1build2
YACC-compatible parser generator - development library
https://www.gnu.org/software/bison/
sudo apt install libbison-devbison 3.8.2-r3
The GNU general-purpose parser generator
https://www.gnu.org/software/bison/bison.html
sudo apk add bisonbison-doc 3.8.2-r3
The GNU general-purpose parser generator (documentation)
https://www.gnu.org/software/bison/bison.html
sudo apk add bison-docbison 3.8.2-15.fc44
GNU general-purpose parser generator
https://www.gnu.org/software/bison/
sudo dnf install bisonbison-devel 3.8.2-15.fc44
-ly library for development using Bison-generated parsers
https://www.gnu.org/software/bison/
sudo dnf install bison-develbison-runtime 3.8.2-15.fc44
Runtime support files used by Bison-generated parsers
https://www.gnu.org/software/bison/
sudo dnf install bison-runtimebison 3.8.2-8
The GNU general-purpose parser generator
https://www.gnu.org/software/bison/bison.html
sudo pacman -S bisonbison 3.8.2-3.12
The GNU Parser Generator
https://www.gnu.org/software/bison/bison.html
sudo zypper install bisonbison-32bit 3.8.2-3.12
The GNU Parser Generator
https://www.gnu.org/software/bison/bison.html
sudo zypper install bison-32bitbison-lang 3.8.2-3.12
Translations for package bison
https://www.gnu.org/software/bison/bison.html
sudo zypper install bison-langsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.