Automic VaultAutomic Vault

brew

使用 Homebrew 安装 gnu-tar

查看 gnu-tar 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gnu-tar

local Homebrew formula metadata

概览

软件包摘要

GNU version of the tar archiving utility

历史

项目历史与用法

GNU tar is the GNU archiving program for creating, listing, updating, and extracting tar archives. It is one of the package ecosystem's foundational tools because source releases, backups, and portable file bundles often travel as tar archives.

项目历史

The GNU tar README says GNU tar is derived from John Gilmore's public-domain tar. The GNU tar manual credits John Gilmore as the original author, Jay Fenlason and Joy Kendall for GNU enhancements, and later maintenance by Thomas Bushnell, n/BSG, Francois Pinard, Paul Eggert, and Sergey Poznyakoff with many contributors.

GNU tar development also reflects the long evolution of archive formats and recovery needs. The manual notes that active development and maintenance resumed after the project was put on CVS at Savannah in July 2003, and it credits Sergey Poznyakoff with POSIX archive support.

采用历史

tar began as a tape archiver, but GNU tar helped make tar archives a routine interchange format for free software. The GNU manual explicitly notes that the GNU Project distributes software bundled into tar archives so related files can move as a single unit, a practice that made tarballs central to source distribution and package building.

使用方式

Practitioners use GNU tar to create and extract source tarballs, preserve directory trees, list archive contents, append or update members, stream archives through pipes, and combine archiving with compression tools. System administrators also use GNU tar for full and incremental backups, including snapshot-file workflows with --listed-incremental.

为什么软件包爱好者会关心

GNU tar is package-nerd bedrock: release artifacts, distro build recipes, reproducible archives, vendor source bundles, and backup scripts all depend on tar behavior. Details such as pax headers, sparse files, compression integration, path handling, and incremental metadata are small options with large consequences for reproducibility and restore safety.

时间线

  • 1980s: GNU tar grew from John Gilmore's public-domain tar into a GNU-maintained archiver.
  • 2003: GNU tar was put on CVS at Savannah and active maintenance resumed.
  • 2021: Version 1.34 notes record extraction and permission-handling fixes.
  • 2023: Version 1.35 notes include compatibility and backup-related fixes.
  • 2026: Git NEWS for 1.35.90 describes reproducibility work, extraction safety fixes, and performance improvements.

Related projects

  • GNU tar is tightly related to gzip, bzip2, xz, cpio, rmt, POSIX pax archives, source-release tooling, and package-manager build systems.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gtarcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.35
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.gnu.org/software/tar/none 置信度

安装元数据

软件包元数据

软件包键brew:gnu-tar
版本1.35
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gnu-tar
主页https://www.gnu.org/software/tar/
仓库https://git.savannah.gnu.org/cgit/tar.git
上游文档https://www.gnu.org/software/tar/manual/html_node
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/tar/tar-1.35.tar.gz
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项GNU "tar" has been installed as "gtar". If you need to use it as "tar", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/gnu-tar/libexec/gnubin:$PATH"

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegnu-tar
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment