# byacc mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für byacc in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:byacc
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install byacc
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install byacc
```

  Evidenz: MacPorts ports tree: devel/byacc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add byacc
```

  Evidenz: Alpine Linux edge package indexes: byacc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install byacc
```

  Evidenz: Debian stable package indexes: byacc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install byacc
```

  Evidenz: Fedora Rawhide package metadata: byacc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#byacc
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/by/byacc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S byacc
```

  Evidenz: Arch Linux sync databases: byacc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install byacc
```

  Evidenz: openSUSE Tumbleweed package metadata: byacc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/byacc
```

  Evidenz: Scoop official bucket manifest trees: bucket/byacc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:byacc
- **Paketmanager:** Homebrew
- **Version:** 20260126
- **Quellzusammenfassung:** (Arguably) the best yacc variant
- **Homepage:** <https://invisible-island.net/byacc/>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- byacc (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 20260126
## Projektgeschichte und Nutzung

Berkeley Yacc, usually packaged as byacc, is a public-domain yacc-compatible LALR(1) parser generator. It is valued as a small, portable yacc implementation that avoids the heavier dependencies and dialect assumptions of some alternatives.

### Projektgeschichte

Thomas E. Dickey's official BYACC page says Robert Corbett wrote byacc around 1990 and notes Corbett was also the original author of bison. The page cites its compatibility with original yacc and records that Dickey later converted the original K&R C source to ANSI C and continued maintaining it.

The original README, preserved in the maintained source tree, states that Berkeley Yacc accepts input conforming to AT&T yacc documentation, is distributed in the public domain, and allows generated parsers to be distributed freely.

### Adoptionsgeschichte

BYACC became popular because it was fast, BSD/public-domain-friendly, and yacc-compatible. The official page quotes John Levine's later account that Corbett's implementation was faster than AT&T yacc and quickly became the most popular yacc variant.

The official related-links section points to Debian packages, FreeBSD and NetBSD sources or package collections, and notes that FreeBSD imported this maintained version into its vendor tree in 2012. The supplied package facts show broad packaging across Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Pacman, Scoop, Ubuntu, and zypper.

### Wie es verwendet wird

byacc is used as a yacc replacement in build systems and compiler-toolchain work: it reads a grammar and emits C parser source. It is often chosen when projects want yacc compatibility, small generated output, permissive/public-domain licensing, and portability to non-GCC or older C environments.

### Warum Paket-Nerds sich dafür interessieren

byacc is package-nerd significant because it is one of the classic parser generators that still matters in modern ports trees. It is tiny but strategically important: swapping yacc implementations can change generated C, expose build assumptions, or avoid a dependency on GNU bison.

Its public-domain status and generated-parser licensing are part of why it persists in base systems, embedded build environments, and conservative packaging stacks.

### Zeitleiste

- 1990: Robert Corbett writes Berkeley Yacc around this period, according to the official history page.
- 1992: O'Reilly's Lex & Yacc notes byacc compatibility with original yacc, as summarized by the official page.
- 2000: Thomas E. Dickey begins ANSI C portability work while porting software to VMS.
- 2005: Dickey notes reviewing FreeBSD versus bison YYPARSE_PARAM compatibility.
- 2012: FreeBSD imports Dickey's maintained version into its vendor tree, according to the official related-links section.
- 2026: The official CHANGES file shows continuing maintenance.

### Related projects

- AT&T yacc is the compatibility baseline.
- GNU bison is the major alternative yacc-family parser generator.
- Perl-Byacc, BYACC/J, and BtYacc are related derivatives or extensions named by the official related-links section.
- flex and lex are commonly paired lexical-scanner tools in yacc-based workflows.

### Quellen

- <https://github.com/ThomasDickey/byacc-snapshots>
- <https://invisible-island.net/byacc/CHANGES>
- <https://invisible-island.net/byacc/byacc.html>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - byacc - 1:2.0.20241231-1: normalized package name match | Debian stable package indexes: byacc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | public domain Berkeley LALR Yacc parser generator | https://invisible-island.net/byacc/
- Nix - byacc: normalized package name match | nixpkgs package indexes: pkgs/by-name/by/byacc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - byacc - 1:2.0.20221106-1: normalized package name match | Ubuntu 24.04 LTS package indexes: byacc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | public domain Berkeley LALR Yacc parser generator | https://invisible-island.net/byacc/
- apk - byacc - 20260126-r0: normalized package name match | Alpine Linux edge package indexes: byacc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Berkeley Yacc general-purpose parser generator | https://invisible-island.net/byacc/byacc.html
- apk - byacc-doc - 20260126-r0: normalized package name match | Alpine Linux edge package indexes: byacc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | The Berkeley Yacc general-purpose parser generator (documentation) | https://invisible-island.net/byacc/byacc.html
- dnf - byacc - 2.0.20241231-4.fc45: normalized package name match | Fedora Rawhide package metadata: byacc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Berkeley Yacc, a parser generator | http://invisible-island.net/byacc/byacc.html
- pacman - byacc - 20260126-1: normalized package name match | Arch Linux sync databases: byacc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Berkeley reimplementation of the Unix parser generator Yacc | https://invisible-island.net/byacc/
- zypper - byacc - 20260126-1.3: normalized package name match | openSUSE Tumbleweed package metadata: byacc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | LALR(1) parser generator | https://invisible-island.net/byacc/byacc.html
- MacPorts - byacc: normalized package name match | MacPorts ports tree: devel/byacc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/byacc: normalized package name match | Scoop official bucket manifest trees: bucket/byacc.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/byacc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/byacc.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
