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

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

## Installation

```sh
sudo av install brew:gawk
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gawk
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gawk
```

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

### Linux

- apk (92%):

```sh
sudo apk add gawk
```

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

- Debian apt (92%):

```sh
sudo apt install gawk
```

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

- dnf (92%):

```sh
sudo dnf install gawk
```

  Evidenz: Fedora Rawhide package metadata: gawk 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#gawk
```

  Evidenz: nixpkgs package indexes: gawk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S gawk
```

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

- zypper (92%):

```sh
sudo zypper install gawk
```

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

### Windows

- Chocolatey (92%):

```sh
choco install gawk
```

  Evidenz: Chocolatey community package catalog: gawk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'

- Scoop (92%):

```sh
scoop install main/gawk
```

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

## Paketfakten

- **Paketschlüssel:** brew:gawk
- **Paketmanager:** Homebrew
- **Version:** 5.4.1
- **Quellzusammenfassung:** GNU awk utility
- **Homepage:** <https://www.gnu.org/software/gawk/>
- **Zuletzt aktualisiert:** 2026-07-10T16:14:05Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- awk (Alias)
- gawk (Alias)
- gawk-5.4.1 (Alias)
- gawkbug (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

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

GNU Awk, usually packaged as `gawk`, is the GNU implementation of the AWK text-processing language. It is both a POSIX-style command-line utility and a scripting language for scanning records, matching patterns, and running actions over structured text.

### Projektgeschichte

AWK originated at Bell Labs and is named for Alfred Aho, Peter Weinberger, and Brian Kernighan. GNU Awk carries that language into the GNU system, implementing standard awk behavior along with GNU extensions, internationalization support, networking features, extension mechanisms, and extensive documentation.

### Adoptionsgeschichte

gawk became the default awk implementation in many GNU/Linux environments and is packaged across the major Unix-like package managers. Its broad package coverage reflects awk's status as part of the everyday Unix text-processing toolkit, used in shell scripts, build systems, log processing, reports, and one-liners.

### Wie es verwendet wird

Users commonly invoke `awk` or `gawk` with short programs such as pattern-action rules on the command line, or with script files for larger transformations. The GNU manual documents command-line invocation, regular expressions, fields, records, arrays, functions, internationalization, debugging, profiling, and compatibility modes.

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

gawk is one of the canonical packages that makes a Unix userland feel complete. Package maintainers care about it because countless scripts assume an awk implementation, while GNU Awk specifically exposes GNU behavior that may differ from minimalist awks, mawk, BusyBox awk, or platform awk implementations.

### Zeitleiste

- 1970s: AWK was created at Bell Labs by Aho, Weinberger, and Kernighan.
- 1980s: GNU Awk began as the GNU project's implementation of awk.
- 1990s-2000s: gawk expanded beyond traditional awk with GNU extensions and a comprehensive Texinfo manual.
- 2020s: gawk remains maintained through GNU and Savannah and widely packaged as the GNU awk utility.

### Related projects

- gawk is related to the original awk and nawk implementations, POSIX awk, mawk, BusyBox awk, and other GNU text-processing tools such as sed and grep. The GNU project hosts the official source repository on Savannah.

### Quellen

- <https://git.savannah.gnu.org/git/gawk.git>
- <https://savannah.gnu.org/projects/gawk>
- <https://www.gnu.org/software/gawk/>
- <https://www.gnu.org/software/gawk/manual/gawk.html>


## 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 - gawk - 1:5.2.1-2+b1: normalized package name match | Debian stable package indexes: gawk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU awk, a pattern scanning and processing language | http://www.gnu.org/software/gawk/
- Nix - gawk: normalized package name match | nixpkgs package indexes: gawk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - gawk - 1:5.2.1-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: gawk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GNU awk, a pattern scanning and processing language | http://www.gnu.org/software/gawk/
- apk - gawk - 5.3.2-r2: normalized package name match | Alpine Linux edge package indexes: gawk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU awk pattern-matching language | https://www.gnu.org/software/gawk/gawk.html
- apk - gawk-doc - 5.3.2-r2: normalized package name match | Alpine Linux edge package indexes: gawk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | GNU awk pattern-matching language (documentation) | https://www.gnu.org/software/gawk/gawk.html
- dnf - gawk - 5.4.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: gawk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The GNU version of the AWK text processing utility | https://www.gnu.org/software/gawk/
- dnf - gawk-all-langpacks - 5.4.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: gawk-all-langpacks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Additional localisation files for gawk utility | https://www.gnu.org/software/gawk/
- dnf - gawk-devel - 5.4.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: gawk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header file for gawk extensions development | https://www.gnu.org/software/gawk/
- dnf - gawk-doc - 5.4.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: gawk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Additional documentation for gawk utility | https://www.gnu.org/software/gawk/
- pacman - gawk - 5.4.1-1: normalized package name match | Arch Linux sync databases: gawk from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz | GNU version of awk | https://www.gnu.org/software/gawk/
- zypper - gawk - 5.4.1-1.2: normalized package name match | openSUSE Tumbleweed package metadata: gawk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Domain-specific language for text processing | https://www.gnu.org/software/gawk/
- MacPorts - gawk: normalized package name match | MacPorts ports tree: lang/gawk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - gawk: normalized package name match | Chocolatey community package catalog: gawk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'
- Scoop - main/gawk: normalized package name match | Scoop official bucket manifest trees: bucket/gawk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Chocolatey - awk: installed executable or alias match | Chocolatey community package catalog: awk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','authy-desktop'


## Combined YAML source

View the package source record on GitHub. [combined/gawk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gawk.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
