Stable release: libarchive 2.7.1
Libarchive is a reusable C library for reading and writing a variety of streaming archive formats. It features:
- Supports a variety of archive and compression formats.
- Robust automatic format detection, including archive/compression combinations such as tar.gz.
- Zero-copy internal architecture for high performance.
- Streaming architecture eliminates all limits on size of archive, limits on entry sizes depend on particular formats.
- Carefully factored code to minimize bloat when programs are statically linked.
- Growing test suite to verify correctness of new ports.
- Works on all POSIX-like systems; is regularly tested on both FreeBSD and Linux.
- Supports Windows, including Cygwin and Visual Studio.
The distribution includes full source code for:
- Libarchive library.
- Libarchive test suite.
- Bsdtar and bsdcpio command-line utilities built on libarchive. These are both feature- and performance-competitive with other implementations of these tools.
- Test suites for bsdtar and bsdcpio.
- Man pages documenting the library interfaces and command-line programs.
- Example code for using libarchive in your own programs.
- Configure scripts and Makefiles for building on a variety of systems.
Formats supported by the library