macOS
brew install gawklocal Homebrew formula metadata
sudo port install gawkMacPorts ports tree · lang/gawk/Portfile · source: api.github.com
brew
GNU awk utility. Version 5.4.0 via Homebrew; verified from local package data.
install
brew install gawklocal Homebrew formula metadata
sudo port install gawkMacPorts ports tree · lang/gawk/Portfile · source: api.github.com
sudo apk add gawkAlpine Linux edge package indexes · gawk · source: dl-cdn.alpinelinux.org
sudo apt install gawkDebian stable package indexes · gawk · source: deb.debian.org
sudo dnf install gawkFedora Rawhide package metadata · gawk · source: dl.fedoraproject.org
nix profile install nixpkgs#gawknixpkgs package indexes · gawk · source: raw.githubusercontent.com
sudo pacman -S gawkArch Linux sync databases · gawk · source: geo.mirror.pkgbuild.com
sudo zypper install gawkopenSUSE Tumbleweed package metadata · gawk · source: download.opensuse.org
choco install gawkChocolatey community package catalog · gawk · source: community.chocolatey.org
scoop install main/gawkScoop official bucket manifest trees · bucket/gawk.json · source: api.github.com
overview
GNU awk utility
history
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.
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.
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.
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.
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.
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 |
|---|---|---|---|
gawk | cli | global executable | |
gawk-5.4.0 | cli | global executable | |
gawkbug | 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/gawk/
install metadata
| Package key | brew:gawk |
|---|---|
| Version | 5.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gawk |
| Homepage | https://www.gnu.org/software/gawk/ |
| Repository | https://git.savannah.gnu.org/git/gawk.git |
| Upstream docs | https://www.gnu.org/software/gawk/manual |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gawk/gawk-5.4.0.tar.xz |
| Dependencies | gettext, gmp, mpfr, readline |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | GNU "awk" has been installed as "gawk". If you need to use it as "awk", you can add a "gnubin" directory to your PATH from your ~/.bashrc and/or ~/.zshrc like: PATH="$HOMEBREW_PREFIX/opt/gawk/libexec/gnubin:$PATH" |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gawk |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gawk 1:5.2.1-2+b1
GNU awk, a pattern scanning and processing language
http://www.gnu.org/software/gawk/
sudo apt install gawkgawk
nix profile install nixpkgs#gawkgawk 1:5.2.1-2build3
GNU awk, a pattern scanning and processing language
http://www.gnu.org/software/gawk/
sudo apt install gawkgawk 5.3.2-r2
GNU awk pattern-matching language
https://www.gnu.org/software/gawk/gawk.html
sudo apk add gawkgawk-doc 5.3.2-r2
GNU awk pattern-matching language (documentation)
https://www.gnu.org/software/gawk/gawk.html
sudo apk add gawk-docgawk 5.4.0-3.fc45
The GNU version of the AWK text processing utility
https://www.gnu.org/software/gawk/
sudo dnf install gawkgawk-all-langpacks 5.4.0-3.fc45
Additional localisation files for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-all-langpacksgawk-devel 5.4.0-3.fc45
Header file for gawk extensions development
https://www.gnu.org/software/gawk/
sudo dnf install gawk-develgawk-doc 5.4.0-3.fc45
Additional documentation for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-docgawk 5.4.0-1
GNU version of awk
https://www.gnu.org/software/gawk/
sudo pacman -S gawkgawk 5.4.0-1.1
Domain-specific language for text processing
https://www.gnu.org/software/gawk/
sudo zypper install gawkgawk
sudo port install gawkgawk
choco install gawkmain/gawk
scoop install main/gawksource 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.