GitHub - libarchive/libarchive: Multi-format archive and compression library (original) (raw)

Welcome to libarchive!

The libarchive project develops a portable, efficient C library that can read and write streaming archives in a variety of formats. It also includes implementations of the common tar, cpio, and zcatcommand-line tools that use the libarchive library.

Questions? Issues?

Contents of the Distribution

This distribution bundle includes the following major components:

The top-level directory contains the following information files:

The following files in the top-level directory are used by the 'configure' script:

Documentation

In addition to the informational articles and documentation in the online libarchive Wiki, the distribution also includes a number of manual pages:

The manual pages above are provided in the 'doc' directory in a number of different formats.

You should also read the copious comments in archive.h and the source code for the sample programs for more details. Please let us know about any errors or omissions you find.

Supported Formats

Currently, the library automatically detects and reads the following formats:

The library also detects and handles any of the following before evaluating the archive:

The library can create archives in any of the following formats:

When creating archives, the result can be filtered with any of the following:

Notes about the Library Design

The following notes address many of the most common questions we are asked about libarchive: