macOS
brew install gawklocal Homebrew formula metadata
sudo port install gawkMacPorts ports tree · lang/gawk/Portfile · source: api.github.com
brew / rank 692
GNU awk utility. Version 5.4.1 via Homebrew; verified 2026-07-10. Also installable with debian: sudo apt install gawk.
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 |
|---|---|---|---|
awk | executable | indexed executable | Discovered from the local executable index. |
gawk | executable | indexed executable | Discovered from the local executable index. |
gawk-5.4.1 | executable | indexed executable | Discovered from the local executable index. |
gawkbug | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:gawk |
|---|---|
| Version | 5.4.1 |
| Package manager | Homebrew |
| Homepage | https://www.gnu.org/software/gawk/ |
| Last updated | 2026-07-10T16:14:05Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.1-1.fc45
The GNU version of the AWK text processing utility
https://www.gnu.org/software/gawk/
sudo dnf install gawkgawk-all-langpacks 5.4.1-1.fc45
Additional localisation files for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-all-langpacksgawk-devel 5.4.1-1.fc45
Header file for gawk extensions development
https://www.gnu.org/software/gawk/
sudo dnf install gawk-develgawk-doc 5.4.1-1.fc45
Additional documentation for gawk utility
https://www.gnu.org/software/gawk/
sudo dnf install gawk-docgawk 5.4.1-1
GNU version of awk
https://www.gnu.org/software/gawk/
sudo pacman -S gawkgawk 5.4.1-1.2
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/gawkawk
choco install awksource 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.