Which zip library should I use?

Sep 11, 2016 at 3:01am
Which zip library should I use? There are so many choices.

I need to create new zip archives and open existing ones.
I need to create new files in the zip archive.
I need to append to existing files in the zip archive.
I need to overwrite existing files in the zip archive.
I need to remove files from the zip archive.
It should be able to work on Windows, Linux, and Mac.
It must be free to use in commercial projects.


Last edited on Sep 11, 2016 at 3:02am
Sep 11, 2016 at 3:59am
zlib does not handle ZIP (PKZIP) files. It only implements DEFLATE and the gzip container.

There are actually not that many choices. To my knowledge, there's like two or three. Take a look at libarchive.
http://www.libarchive.org/
Sep 12, 2016 at 5:04pm
Thank you!
Last edited on Sep 12, 2016 at 5:04pm
Topic archived. No new replies allowed.