This is libzip, a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. Decryption and encryption of Winzip AES and decryption of legacy PKware encrypted files is supported. The API is documented by man pages.
For more information, take a look at the included man pages. You can
start with libzip(3), which lists
all others. Example source code is in the src/
subdirectory.
If you have developed an application using libzip, you can find out
about API changes and how to adapt your code for them in the included
file API-CHANGES
.
For generic installation instructions, see file INSTALL
, which
describes the approach using autoconf; alternatively, you can
use cmake to build.
Additionally, you'll need zlib (at least version 1.1.2). It comes with most operating systems nowadays, or you can get it at
For supporting bzip2-compressed zip archives, bzip2 from
http://bzip.org/ needs to be installed.
When using a static Windows library, you need to define ZIP_STATIC
when compiling packages using libzip.
If you make a binary distribution, please include a pointer to the distribution site:
The latest version can always be found there. The official mercurial repository is at http://hg.nih.at/libzip/ and a read-only git mirror exists at https://github.com/nih-at/libzip/
There is a mailing list for developers using libzip. You can subscribe to it by sending a mail with the subject "subscribe libzip-discuss" to minimalist at nih.at. List mail should be sent to libzip-discuss at nih.at. Use this for bug reports or questions.
If you want to reach the authors in private, use [email protected].