Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libtar

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libtar

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libtar

MacPorts ports tree · devel/libtar/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install libtar

Fedora Rawhide package metadata · libtar · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libtar

nixpkgs package indexes · pkgs/by-name/li/libtar/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S libtar

Arch Linux sync databases · libtar · 来源: geo.mirror.pkgbuild.com

Ubuntu apt已验证 · 92%
sudo apt install libtar-dev

Ubuntu 24.04 LTS package indexes · libtar-dev · 来源: archive.ubuntu.com

openSUSE zypper已验证 · 92%
sudo zypper install libtar

openSUSE Tumbleweed package metadata · libtar · 来源: download.opensuse.org

概览

软件包摘要

C library for manipulating POSIX tar files

命令和别名

  • libtar

历史

项目历史与用法

libtar is a small C library for manipulating POSIX tar archives. Its history is thinly documented, but the maintained source page identifies it as a Mark Roth project kept alive through a maintenance repository for packagers and downstream users.

项目历史

The package is associated with Mark Roth and the University of Illinois era of late-1990s and early-2000s Unix utility code. The repo.or.cz project page describes the hosted tree as a maintenance repository for libtar, temporarily run by Chris Frey until Mark Roth resumed development.

The maintained repository shifted the project from tarball-style upstream releases toward tagged source snapshots. The page explicitly says no tarball releases would be done from that maintenance repo and directs users to grab tagged sources instead.

采用历史

libtar's adoption is mostly downstream and infrastructural rather than user-facing. The input metadata shows packaging in Homebrew, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE families, which matches its niche as a C library that other software can link when it needs tar archive operations without invoking the tar command.

使用方式

The library is used by C programs that need to read, write, append, or extract tar archives through an API. Its appeal is that it gives applications direct archive manipulation while preserving familiar POSIX tar semantics.

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

libtar is package-nerd glue: a small C dependency that exists so build systems and applications do not need to shell out or vendor tar handling. Its repo.or.cz maintenance status also illustrates a common packaging reality: useful libraries can outlive their original release process because distributions still need a canonical source.

时间线

  • 1998-2003: Copyright ranges in downstream source copies identify the original Mark Roth and University of Illinois development period.
  • 2013: The repo.or.cz maintenance repository records libtar 1.2.20 and a short burst of portability and correctness fixes.
  • 2013: The maintained repository states that tagged source snapshots, rather than new tarball releases from that tree, are the distribution path.

Related projects

  • GNU tar and libarchive occupy adjacent archive-handling territory; libtar is narrower, with a C API focused on tar files.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://repo.or.cz/libtar

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://repo.or.cz/libtarnone 置信度

安装元数据

软件包元数据

软件包键brew:libtar
版本1.2.20
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libtar
主页https://repo.or.cz/libtar.git
仓库https://repo.or.cz/libtar.git
上游文档https://repo.or.cz/libtar.git
许可证NCSA
源码归档https://repo.or.cz/libtar.git
构建依赖autoconf, automake, libtool
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

libtar

nix profile install nixpkgs#libtar
  • normalized package name match
  • 匹配方式:Libtar
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libtar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libtar-dev 1.2.20-8.1build1

C library for manipulating tar archives (development files)

http://repo.or.cz/w/libtar.git

sudo apt install libtar-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libtar
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libtar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libtar0t64 1.2.20-8.1build1

C library for manipulating tar archives

http://repo.or.cz/w/libtar.git

sudo apt install libtar0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libtar
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtar
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtar0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

libtar 1.2.20-35.fc44

Tar file manipulation API

http://repo.or.cz/libtar.git

sudo dnf install libtar
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libtar
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtar
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libtar-devel 1.2.20-35.fc44

Development files for libtar

http://repo.or.cz/libtar.git

sudo dnf install libtar-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libtar
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtar
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libtar-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libtar 1.2.20-8

C library for manipulating POSIX tar files

https://repo.or.cz/w/libtar.git

sudo pacman -S libtar
  • License: BSD
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Libtar
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libtar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libtar 1.2.20-2.27

Tar file manipulation API

http://www.feep.net/libtar/

sudo zypper install libtar
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libtar
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtar
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtar from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtar-devel 1.2.20-2.27

Development files for libtar

http://www.feep.net/libtar/

sudo zypper install libtar-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libtar
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libtar
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtar-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libtar1 1.2.20-2.27

Shared library for libtar

http://www.feep.net/libtar/

sudo zypper install libtar1
  • License: BSD-3-Clause
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libtar
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libtar
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libtar1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

libtar

sudo port install libtar
  • normalized package name match
  • 匹配方式:Libtar
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/libtar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment