macOS
brew install gziplocal Homebrew formula metadata
sudo port install gzipMacPorts ports tree · archivers/gzip/Portfile · ソース: api.github.com
brew
gzip のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gziplocal Homebrew formula metadata
sudo port install gzipMacPorts ports tree · archivers/gzip/Portfile · ソース: api.github.com
sudo apk add gzipAlpine Linux edge package indexes · gzip · ソース: dl-cdn.alpinelinux.org
sudo dnf install gzipFedora Rawhide package metadata · gzip · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gzipnixpkgs package indexes · gzip · ソース: raw.githubusercontent.com
sudo pacman -S gzipArch Linux sync databases · gzip · ソース: geo.mirror.pkgbuild.com
sudo zypper install gzipopenSUSE Tumbleweed package metadata · gzip · ソース: download.opensuse.org
choco install gzipChocolatey community package catalog · gzip · ソース: community.chocolatey.org
scoop install main/gzipScoop official bucket manifest trees · bucket/gzip.json · ソース: api.github.com
winget install --id GnuWin32.Gzip -eWindows Package Manager source index · GnuWin32.Gzip · ソース: cdn.winget.microsoft.com
概要
Popular GNU data compression program
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gunzip | cli | グローバル実行可能ファイル | |
gzexe | cli | グローバル実行可能ファイル | |
gzip | cli | グローバル実行可能ファイル | |
uncompress | cli | グローバル実行可能ファイル | |
zcat | cli | グローバル実行可能ファイル | |
zcmp | cli | グローバル実行可能ファイル | |
zdiff | cli | グローバル実行可能ファイル | |
zegrep | cli | グローバル実行可能ファイル | |
zfgrep | cli | グローバル実行可能ファイル | |
zforce | cli | グローバル実行可能ファイル | |
zgrep | cli | グローバル実行可能ファイル | |
zless | cli | グローバル実行可能ファイル | |
zmore | cli | グローバル実行可能ファイル | |
znew | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/gzip/
インストールメタデータ
| パッケージキー | brew:gzip |
|---|---|
| バージョン | 1.14 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gzip |
| ホームページ | https://www.gnu.org/software/gzip/ |
| リポジトリ | https://git.savannah.gnu.org/git/gzip.git |
| 上流ドキュメント | https://www.gnu.org/software/gzip/manual |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/gzip/gzip-1.14.tar.gz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.