pkg.soopen package index

brew / rank 692

Install gawk with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

GNU awk utility. Version 5.4.1 via Homebrew; verified 2026-07-10. Also installable with debian: sudo apt install gawk.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gawk

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gawk

MacPorts ports tree · lang/gawk/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gawk

Alpine Linux edge package indexes · gawk · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gawk

Debian stable package indexes · gawk · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gawk

Fedora Rawhide package metadata · gawk · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gawk

nixpkgs package indexes · gawk · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S gawk

Arch Linux sync databases · gawk · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gawk

openSUSE Tumbleweed package metadata · gawk · source: download.opensuse.org

overview

Package summary

GNU awk utility

Commands and aliases

  • awk
  • gawk
  • gawk-5.4.1
  • gawkbug

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
awkexecutableindexed executableDiscovered from the local executable index.
gawkexecutableindexed executableDiscovered from the local executable index.
gawk-5.4.1executableindexed executableDiscovered from the local executable index.
gawkbugexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version5.4.1
manager updated2026-07-10
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gawk
Version5.4.1
Package managerHomebrew
Homepagehttps://www.gnu.org/software/gawk/
Last updated2026-07-10T16:14:05Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gawk 1:5.2.1-2+b1

GNU awk, a pattern scanning and processing language

http://www.gnu.org/software/gawk/

sudo apt install gawk
  • Section: interpreters
  • Architecture: amd64
  • Source Package: gawk
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Gawk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gawk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gawk

nix profile install nixpkgs#gawk
  • normalized package name match
  • Matched by: Gawk
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gawk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

gawk 1:5.2.1-2build3

GNU awk, a pattern scanning and processing language

http://www.gnu.org/software/gawk/

sudo apt install gawk
  • Section: interpreters
  • Architecture: amd64
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Gawk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gawk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

gawk 5.3.2-r2

GNU awk pattern-matching language

https://www.gnu.org/software/gawk/gawk.html

sudo apk add gawk
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gawk
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gawk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gawk from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gawk-doc 5.3.2-r2

GNU awk pattern-matching language (documentation)

https://www.gnu.org/software/gawk/gawk.html

sudo apk add gawk-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gawk
  • normalized package name match
  • Matched by: Gawk
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gawk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

gawk 5.4.1-1.fc45

The GNU version of the AWK text processing utility

https://www.gnu.org/software/gawk/

sudo dnf install gawk
  • License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gawk
  • 8 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gawk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gawk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

gawk-all-langpacks 5.4.1-1.fc45

Additional localisation files for gawk utility

https://www.gnu.org/software/gawk/

sudo dnf install gawk-all-langpacks
  • License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gawk
  • 1 provides
  • normalized package name match
  • Matched by: Gawk
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

gawk-devel 5.4.1-1.fc45

Header file for gawk extensions development

https://www.gnu.org/software/gawk/

sudo dnf install gawk-devel
  • License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gawk
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gawk
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

gawk-doc 5.4.1-1.fc45

Additional documentation for gawk utility

https://www.gnu.org/software/gawk/

sudo dnf install gawk-doc
  • License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gawk
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gawk
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

gawk 5.4.1-1

GNU version of awk

https://www.gnu.org/software/gawk/

sudo pacman -S gawk
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gawk
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gawk from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

gawk 5.4.1-1.2

Domain-specific language for text processing

https://www.gnu.org/software/gawk/

sudo zypper install gawk
  • License: GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: gawk
  • 6 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Gawk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gawk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

gawk

sudo port install gawk
  • normalized package name match
  • Matched by: Gawk
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gawk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

gawk

choco install gawk
  • normalized package name match
  • Matched by: Gawk
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: gawk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'
Scoop95%

main/gawk

scoop install main/gawk
  • normalized package name match
  • Matched by: Gawk
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gawk.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
Chocolatey92%

awk

choco install awk
  • installed executable or alias match
  • Matched by: Awk
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: awk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','authy-desktop'

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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