# libtar mit Homebrew, dnf, MacPorts, Nix, pacman, zypper, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libtar in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:libtar
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install libtar
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libtar
```

  Evidenz: MacPorts ports tree: devel/libtar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install libtar
```

  Evidenz: Fedora Rawhide package metadata: libtar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libtar
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/li/libtar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libtar
```

  Evidenz: Arch Linux sync databases: libtar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libtar
```

  Evidenz: openSUSE Tumbleweed package metadata: libtar from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Ubuntu apt (92%):

```sh
sudo apt install libtar-dev
```

  Evidenz: Ubuntu 24.04 LTS package indexes: libtar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Paketfakten

- **Paketschlüssel:** brew:libtar
- **Paketmanager:** Homebrew
- **Version:** 1.2.20
- **Quellzusammenfassung:** C library for manipulating POSIX tar files
- **Homepage:** <https://repo.or.cz/libtar.git>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- libtar (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.2.20
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://github.com/Parrot-Developers/libtar>
- <https://github.com/tklauser/libtar/blob/master/lib/libtar.h>
- <https://repo.or.cz/libtar.git>


## Sicherheitshinweise

library-like package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- library-like package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - libtar: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libtar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libtar-dev - 1.2.20-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtar-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for manipulating tar archives (development files) | http://repo.or.cz/w/libtar.git
- Ubuntu apt - libtar0t64 - 1.2.20-8.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtar0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for manipulating tar archives | http://repo.or.cz/w/libtar.git
- dnf - libtar - 1.2.20-36.fc45: normalized package name match | Fedora Rawhide package metadata: libtar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tar file manipulation API | http://repo.or.cz/libtar.git
- dnf - libtar-devel - 1.2.20-36.fc45: normalized package name match | Fedora Rawhide package metadata: libtar-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libtar | http://repo.or.cz/libtar.git
- pacman - libtar - 1.2.20-8: normalized package name match | Arch Linux sync databases: libtar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C library for manipulating POSIX tar files | https://repo.or.cz/w/libtar.git
- zypper - libtar - 1.2.20-3.3: normalized package name match | openSUSE Tumbleweed package metadata: libtar from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tar file manipulation API | http://www.feep.net/libtar/
- zypper - libtar-devel - 1.2.20-3.3: normalized package name match | openSUSE Tumbleweed package metadata: libtar-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libtar | http://www.feep.net/libtar/
- zypper - libtar1 - 1.2.20-3.3: normalized package name match | openSUSE Tumbleweed package metadata: libtar1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Shared library for libtar | http://www.feep.net/libtar/
- MacPorts - libtar: normalized package name match | MacPorts ports tree: devel/libtar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/libtar.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libtar.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
