The best zip library with public domain license [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


The best zip library with public domain license [closed]



Does anyone know zip library of C/C++ in public domain license?



It meets the following requirements.



This question appears to be off-topic. The users who voted to close gave this specific reason:





"Public domain" has a very specific meaning; is that what you really meant? What are the license requirements that you need. Can you manage with something less than public domain, such as BSD license or LGPL?
– Clifford
Jul 10 '10 at 19:34





This doesn't make sense. There is no such thing as a "public domain license". If it's public domain, it doesn't need a license. In fact, if it's public domain it cannot have a license, since a license is issued by the copyright holders, but public domain works by definition do not have copyright holders.
– Jörg W Mittag
Jul 11 '10 at 10:48





@Jörg W Mittag: That definitely does make sense. Copyright is by default, in order to make something public domain the copyright owner must willfully do that - release his work into public domain. That can be considered licensing - granting other people rights to use the work.
– sharptooth
Aug 3 '10 at 10:20




7 Answers
7



It didn't yet exist when the question was asked. But it does now: miniz - public domain, single C file, explicitly inspired by the likes of stb_image.



I'd recommend ZipLib.



Personal reasons why I love this project:



It took me a long time to find this project -- hope this helps someone.



The most popular open source zip implementation is Info-Zip. Deflate algorithm used in zip file format is implemented by zlib library. Both are released on liberal, BSD-like license, but not public domain.





It is not Public Domain, but I try using it. Thanks!
– Shiva
Jul 14 '10 at 14:22





It's not a library and not good source code. Well it's dating back to 1992, what can we expect.
– Lothar
Oct 27 '15 at 4:21



It's not public domain, but Minizip, which is included with zlib, meets your other three requirements. It also contains miniunz.c, a very easy to follow zip/unzip example.





Oh, It serves as a reference. Thanks!
– Shiva
Jul 14 '10 at 14:23



The closest I can think of would be Xz-utils, which uses the public domain LZMA SDK. It's not zip, per se, nor does it use the deflate algorithm, but it is one of the few compression libraries in the public domain.





Thanks! It serves as a reference!
– Shiva
Jul 14 '10 at 14:27





To my understanding, the LZMA SDK requires 7z.dll in order to operate (which is LGPL).
– Billy ONeal
Dec 8 '12 at 2:38







@BillyONeal: Not as far as I've seen. LZMA stands on its own. Perhaps 7z.dll depends on LZMA? Neither of those libraries depend on the other on my system, and none of the build scripts for LZMA depend on 7zip, as far as I can tell.
– greyfade
Dec 8 '12 at 7:06



Public Domain is the LZMA sdk from 7z
http://www.7-zip.org/sdk.html



Problem: the documentation is "not existing" :-(





I believe the SDK requires 7z.dll, which is LGPL.
– Billy ONeal
Dec 8 '12 at 2:39





Where do you get that information. You do not need to use 7z.dll to use LZMA compression (7z and xz files). The SDK does not depend on 7z.dll.
– rxantos
Apr 19 '14 at 9:04





Seems no one is still maintaining this project.
– user1633272
Mar 24 '17 at 10:27





latest release 2016-10-04 this is quite current, Why to you think "no one is maintaining"?
– nobs
Mar 25 '17 at 12:32





http://www.bzip.org/ is pretty common and a requirement of tons of easy_installs in multiple target languages.



Update:
I realize this is wrong, but it's a common misunderstanding, so I'm leaving it up as a sentinel to describe a frequent error.





bzip uses Burrows-Wheeler compression algorithm, whereas zip uses Deflate algorithm.
– el.pescado
Jul 10 '10 at 19:39





@el.pescado: was this a requirement that I missed?
– eruciform
Jul 10 '10 at 19:47





Despite name similarities, bzip2 != zip
– el.pescado
Jul 10 '10 at 21:12

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived