macOS
brew install libtarlocal Homebrew formula metadata
sudo port install libtarMacPorts ports tree · devel/libtar/Portfile · 来源: api.github.com
安装
brew install libtarlocal Homebrew formula metadata
sudo port install libtarMacPorts ports tree · devel/libtar/Portfile · 来源: api.github.com
sudo dnf install libtarFedora Rawhide package metadata · libtar · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libtarnixpkgs package indexes · pkgs/by-name/li/libtar/package.nix · 来源: api.github.com
sudo pacman -S libtarArch Linux sync databases · libtar · 来源: geo.mirror.pkgbuild.com
sudo apt install libtar-devUbuntu 24.04 LTS package indexes · libtar-dev · 来源: archive.ubuntu.com
sudo zypper install libtaropenSUSE Tumbleweed package metadata · libtar · 来源: download.opensuse.org
概览
C library for manipulating POSIX tar files
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
libtar | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libtar |
| 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 软件包链接分开显示。
libtar
nix profile install nixpkgs#libtarlibtar-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-devlibtar0t64 1.2.20-8.1build1
C library for manipulating tar archives
http://repo.or.cz/w/libtar.git
sudo apt install libtar0t64libtar 1.2.20-35.fc44
Tar file manipulation API
sudo dnf install libtarlibtar-devel 1.2.20-35.fc44
Development files for libtar
sudo dnf install libtar-devellibtar 1.2.20-8
C library for manipulating POSIX tar files
https://repo.or.cz/w/libtar.git
sudo pacman -S libtarlibtar 1.2.20-2.27
Tar file manipulation API
sudo zypper install libtarlibtar-devel 1.2.20-2.27
Development files for libtar
sudo zypper install libtar-devellibtar1 1.2.20-2.27
Shared library for libtar
sudo zypper install libtar1libtar
sudo port install libtar来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.