Fork me on GitHub


Multi-format archive and compression library

The source distribution includes the libarchive library, the bsdtar and bsdcpio command-line programs, full test suite, and documentation.

The libarchive library features:

The bsdtar and bsdcpio command-line u1tilities are feature- and performance-competitive with other tar and cpio implementations:

Documentation Links:


New BSD License

Issue Tracker

The issue tracker for libarchive is hosted on GitHub.
To report a general issue, use the issue tracker. For pull requests, use GitHub's pull request feature.

Contiuous Build

  • GitHub Actions (Ubuntu, macOS, Windows)
  • Cirrus CI (FreeBSD)
  • Fedora copr (Fedora, EPEL)
  • CDash (big endian)
  • Mailing Lists

  • libarchive-announce
  • libarchive-discuss
  • libarchive-commits
  • Download

    Downloads for all releases are available at the downloads page (downloads).

    You can download this project in either zip or tar formats.

    You can also clone the project with Git by running:

          $ git clone