# GNU tar

> The GNU tape archiver: create, list and extract tar archives

Source: https://talira.ai/catalog/gnu-tar-9p5g9ecq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [system utilities / file archivers](https://talira.ai/categories/system-utilities/file-archivers)
- Platforms: linux, macos, cli[^1]
- Licence: GPL-3.0-or-later[^2]
- Pricing: Free and open source
- Free tier: yes
- Backed by: [GNU Project](https://talira.ai/orgs/gnu.md)

GNU tar is the GNU Project's archiver: a command-line program that bundles many files into one archive and creates, lists, updates and extracts them, for storage, backup and moving files between systems. Despite the name (tape archiver), it writes to and reads from any device, file or program, including remote devices and files. Homebrew installs it as gtar, with a gnubin directory to put on PATH to call it as tar.

## Links

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

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/gnu-tar>[^1]

## Problems it solves

- bundle a directory into a single archive file to back it up or move it to another machine
- extract a .tar.gz or .tar.xz archive on the command line
- use GNU tar options in scripts on macOS where the system tar is BSD tar
- stream an archive to another program or a remote machine without writing a temporary file
- list what's inside a tarball without extracting it
- write backups to a tape drive or other device

## Features

- create, list, update and extract tar archives
- write archives to devices, files or other programs
- access remote devices and files
- POSIX extended (pax) format headers

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: adoption 0.80, backing 0.30, extensibility 0.20.

- 25k Homebrew installs in 30 days
- backed by GNU Project

Warnings:

- activity not tracked: no repository is linked

## Alternatives

- [ouch](https://talira.ai/catalog/ouch-3dzk0d44.md): Painless compression and decompression in the terminal
- [7-Zip](https://talira.ai/catalog/7-zip-w7fh5c98.md): A file archiver with a high compression ratio
- [The Unarchiver](https://talira.ai/catalog/the-unarchiver-85kpsnn8.md): Open any archive in seconds
- [MacPacker](https://talira.ai/catalog/macpacker-y9z3752e.md): A free, open source archive manager for macOS

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 26 Nov 2026)
[^2]: https://savannah.gnu.org/projects/tar/ (checked 26 Nov 2026)
