macOS
brew install libtarlocal Homebrew formula metadata
sudo port install libtarMacPorts ports tree · devel/libtar/Portfile · source: api.github.com
brew
C library for manipulating POSIX tar files. Version 1.2.20 via Homebrew; verified from local package data.
install
brew install libtarlocal Homebrew formula metadata
sudo port install libtarMacPorts ports tree · devel/libtar/Portfile · source: api.github.com
sudo dnf install libtarFedora Rawhide package metadata · libtar · source: dl.fedoraproject.org
nix profile install nixpkgs#libtarnixpkgs package indexes · pkgs/by-name/li/libtar/package.nix · source: api.github.com
sudo pacman -S libtarArch Linux sync databases · libtar · source: geo.mirror.pkgbuild.com
sudo apt install libtar-devUbuntu 24.04 LTS package indexes · libtar-dev · source: archive.ubuntu.com
sudo zypper install libtaropenSUSE Tumbleweed package metadata · libtar · source: download.opensuse.org
overview
C library for manipulating POSIX tar files
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
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 |
|---|---|---|---|
libtar | 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.
install metadata
| Package key | brew:libtar |
|---|---|
| Version | 1.2.20 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libtar |
| Homepage | https://repo.or.cz/libtar.git |
| Repository | https://repo.or.cz/libtar.git |
| Upstream docs | https://repo.or.cz/libtar.git |
| License | NCSA |
| Source archive | https://repo.or.cz/libtar.git |
| Build dependencies | autoconf, automake, libtool |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 libtarsource 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.