macOS
brew install gziplocal Homebrew formula metadata
sudo port install gzipMacPorts ports tree · archivers/gzip/Portfile · source: api.github.com
brew
Popular GNU data compression program. Version 1.14 via Homebrew; verified from local package data.
install
brew install gziplocal Homebrew formula metadata
sudo port install gzipMacPorts ports tree · archivers/gzip/Portfile · source: api.github.com
sudo apk add gzipAlpine Linux edge package indexes · gzip · source: dl-cdn.alpinelinux.org
sudo apt install gzipDebian stable package indexes · gzip · source: deb.debian.org
sudo dnf install gzipFedora Rawhide package metadata · gzip · source: dl.fedoraproject.org
nix profile install nixpkgs#gzipnixpkgs package indexes · gzip · source: raw.githubusercontent.com
sudo pacman -S gzipArch Linux sync databases · gzip · source: geo.mirror.pkgbuild.com
sudo zypper install gzipopenSUSE Tumbleweed package metadata · gzip · source: download.opensuse.org
choco install gzipChocolatey community package catalog · gzip · source: community.chocolatey.org
scoop install main/gzipScoop official bucket manifest trees · bucket/gzip.json · source: api.github.com
winget install --id GnuWin32.Gzip -eWindows Package Manager source index · GnuWin32.Gzip · source: cdn.winget.microsoft.com
overview
Popular GNU data compression program
history
GNU gzip is one of the canonical Unix command-line compression tools and the reference utility behind the .gz file format. It became important because it replaced the patent-burdened Unix compress program with a free software tool, a better compression ratio, and a stream-friendly format that became deeply embedded in source distribution, logs, tarballs, package systems, and network protocols.
The GNU project describes gzip as originally written by Jean-loup Gailly, with Mark Adler writing the decompression part. GNU explains the motivation plainly: gzip was developed as a replacement for compress because Unisys and IBM patents covered the LZW algorithm used by compress. The superior compression ratio was an additional benefit.
The gzip format was later documented in RFC 1952 in May 1996. The RFC defines a lossless compressed data format that is CPU-, operating-system-, file-system-, and character-set-independent, can operate as a stream, provides compression comparable to strong general-purpose methods, can be implemented without the patent problems that affected compress, and is compatible with the widely used gzip utility.
gzip's design is deliberately single-file and stream oriented. The separate gzip.org page summarizes that distinction: gzip refers both to the utility and to the associated compressed data format, producing files that generally use the .gz suffix. That simplicity explains why tar.gz became the default source-distribution shape: tar groups files and metadata, gzip compresses the byte stream.
gzip spread through GNU and Unix-like systems because it solved a legal and practical packaging problem at the same time. Source archives, FTP sites, mailing-list patches, backup scripts, log rotation, and package build systems all needed a compression utility that could be redistributed freely and used in pipelines.
The supplied package facts show broad package-manager normalization: apk, Homebrew, Chocolatey, Debian, dnf, MacPorts, Nix, pacman, Scoop, Ubuntu, winget, zypper, and other ecosystems carry gzip. That ubiquity is expected for a base-system utility, but it is also historically important: package managers rely on gzip both as a package and as infrastructure for other packages' source archives, compressed metadata, and logs.
gzip compresses and decompresses streams or single files; gunzip reverses compression; zcat writes decompressed content to standard output; and companion scripts such as zgrep, zdiff, zless, zmore, zcmp, gzexe, zforce, and znew make compressed files act more like ordinary Unix text inputs. The GNU manual covers invocation, examples, advanced use, environment behavior, tapes, and known problems.
The format's streamability is why gzip is common in shell pipelines and data interchange. RFC 1952 explicitly calls out producing and consuming data streams with bounded intermediate storage, which fits Unix filters, HTTP/content encoding history, archival transfer, and ETL-style processing.
gzip is package infrastructure disguised as a small CLI. Package nerds care because .tar.gz source archives, compressed man pages, compressed logs, bootstrap environments, and source mirrors all assume gzip semantics. It is also a lesson in why legal constraints shape technical defaults: the LZW patent problem pushed free systems toward gzip, and the resulting format stuck.
The gzip family also anchors comparisons with related tools. zlib provides library support for gzip streams, pigz parallelizes gzip-compatible compression, zip is a different archive format, and modern compressors such as xz, zstd, and brotli often coexist with gzip rather than replacing it outright because .gz remains universally understood.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
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 |
|---|---|---|---|
gunzip | cli | global executable | |
gzexe | cli | global executable | |
gzip | cli | global executable | |
uncompress | cli | global executable | |
zcat | cli | global executable | |
zcmp | cli | global executable | |
zdiff | cli | global executable | |
zegrep | cli | global executable | |
zfgrep | cli | global executable | |
zforce | cli | global executable | |
zgrep | cli | global executable | |
zless | cli | global executable | |
zmore | cli | global executable | |
znew | 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/gzip/
install metadata
| Package key | brew:gzip |
|---|---|
| Version | 1.14 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gzip |
| Homepage | https://www.gnu.org/software/gzip/ |
| Repository | https://git.savannah.gnu.org/git/gzip.git |
| Upstream docs | https://www.gnu.org/software/gzip/manual |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/gzip/gzip-1.14.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gzip |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
gzip 1.13-1
GNU compression utilities
https://www.gnu.org/software/gzip/
sudo apt install gzipgzip
nix profile install nixpkgs#gzipgzip 1.12-1ubuntu3
GNU compression utilities
https://www.gnu.org/software/gzip/
sudo apt install gzipgzip-win32 1.12-1ubuntu3
GNU compression utility (win32 build)
https://www.gnu.org/software/gzip/
sudo apt install gzip-win32gzip 1.14-r2
Popular data compression program
https://www.gnu.org/software/gzip/
sudo apk add gzipgzip-doc 1.14-r2
Popular data compression program (documentation)
https://www.gnu.org/software/gzip/
sudo apk add gzip-docgzip 1.14-2.fc44
GNU data compression program
sudo dnf install gzipgzip 1.14-2
GNU compression utility
https://www.gnu.org/software/gzip/
sudo pacman -S gzipgzip 1.14-1.4
GNU Zip Compression Utilities
https://www.gnu.org/software/gzip/
sudo zypper install gzipzstd-gzip 1.5.7-4.2
zstd and zlib based gzip drop-in
https://github.com/facebook/zstd
sudo zypper install zstd-gzipgzip
sudo port install gzipgzip
choco install gzipmain/gzip
scoop install main/gzipGnuWin32.Gzip
winget install --id GnuWin32.Gzip -esource 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.