Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The is a link here to what is presumably the required ZIP tool.

click to hide/show revision 2
provide Info-ZIP information and download link problem

The There is a link here to what is presumably the required ZIP tool.Info-ZIP tool. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

The ODF v1.2 specification indicates PKWARE v6.2.0 zip compression, which Info-ZIP is supposed to be 100% compatible with. Evidently the Info-ZIP download links are all broken. I have contacted the Info-ZIP forum admin to try and get this corrected. In the mean time you can perhaps use the GNUWin32 version of zip from here.

click to hide/show revision 3
significantly expand answer

There is a link here to the I am going to expand this answer to include some general information about the zip utility required Info-ZIP tool. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible by ODF and the SDK. Many thanks to Steven M. Schweda for his assistance with the DOS-based PKZIP by PKWARE, Inc.

this matter. The ODF v1.2 specification indicates PKWARE v6.2.0 zip compression, which Info-ZIP . Info-ZIP is evidently a fork of PKWARE v6.2.0 and is supposed to be 100% compatible with. Evidently with this version. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

There are several items of related interest from the OASIS mailing list (e.g., this 2006 message) and OASIS Technical Committee issue tracker (e.g., #2082, 2150, #2250, #3353, and #3553 from 2009-2010). Currently the LO SDK Installation page points to the Info-ZIP website. At the time of writing my prior answer here the Info-ZIP download links are were all broken. I have contacted the Info-ZIP forum admin to try and get assist with finding an alternative solution and they responded with this corrected. In the mean time you can perhaps helpful information:

Many (most?) of the external links (and some of the internal ones, too, I suspect) on our Web site are too old to be useful, but many useful things may be found on our FTP server:

ftp://ftp.info-zip.org/pub/infozip/

ftp://ftp.info-zip.org/pub/infozip/win32/

The "readme" there is also obsolete, but a sufficiently deductive mind might take a whack at these kits (in the "win32" subdirectory):

unz600dn.zip

unz600xn.exe (SFX)

zip300xn.zip

[...] any particular PKWARE APPNOTE probably includes features which Info-ZIP programs don't support, but, yes, for a fairly broad feature set, our programs should do the job. [...] I'm not sure what works for Zip 3.0 and UnZip 6.0 in various Windows environments. Thus, I'm not sure if everything for those versions will just work in Cygwin or MinGW, and I haven't looked at what the GnuWin32 folks have done [...]

I also pointed out in the previous version of this answer that it may be possible to use the GNUWin32 zip v3.0. The corresponding GNUWin32 unzip v5.51 though appears to have a 2Gb limitation:

I wouldn't be amazed if the GnuWin32 programs worked, too, except that UnZip version of zip from here.

5.x won't work well with large-file (bigger than 2GB) files or archives (though that may not be a fatal limitation for typical LibreOffice use). And there may be fewer bugs in UnZip 6.00 than in any 5.x.

The 2Gb limitation is also mentioned in OASIS Technical Committee issue #3353 in relation to the old version of Info-ZIP that ODF v1.2 uses.

click to hide/show revision 4
re-write and clarify numerous points and areas

I am going to expand this answer to include some general information about the zip utility utilities required by ODF and the SDK. Many thanks to Steven M. Schweda for his assistance with this matter. If there are any inaccuracies here, they are mine and I will do my best to correct them as they are pointed out.

The ODF v1.2 specification indicates references PKWARE v6.2.0 zip compression. APPNOTE v6.2.0 i.e., a .ZIP file format specification. Info-ZIP is evidently a fork of PKWARE v6.2.0 and project that attempts to provide support for the non-proprietary aspects of this specification through a series of packages, such as Zip, UnZip, WiZ, and MacZip. The equivalent Info-ZIP APPNOTE is supposed to be 100% compatible with this v20040908 which is currently the latest version. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

There are several items of related interest from the OASIS mailing list (e.g., this 2006 message) and OASIS Technical Committee issue tracker (e.g., #2082, 2150, #2250, #3353, and #3553 from 2009-2010). Currently the LO SDK Installation page points to the Info-ZIP website. The Zip and UnZip packages are required by the ODF SDK. At the time of writing my prior initial answer here the Info-ZIP download links were all broken. I contacted the Info-ZIP forum admin to assist with finding an alternative solution and they responded with this helpful information:

It makes some sense for ODF specs to refer to a PKWARE APPNOTE, because that is the official .ZIP standard document, but it's good to be aware that some of what it describes are PKWARE-proprietary features (some with patent encumbrances), and the Info-ZIP programs do not implement the full PKWARE APPNOTE spec. In most circumstances, the (subset) features used are no more exotic than Deflate compression and, perhaps, large-file (Zip64) support, and Zip 3.x and UnZip 6.x can cope with those. Zip 2.x and UnZip 5.x lack large-file (Zip64) support, but even that may not affect your users. In general, however, newer versions tend to have fewer bugs than older versions, so I'd resort to an UnZip 5.x only if I couldn't find a working 6.x.

The current released versions are Zip 3.0 and UnZip 6.00, and those are in the latest kits with executables on our server(s). [...] Many (most?) of the external links (and some of the internal ones, too, I suspect) on our Web site are too old to be useful, but many useful things may be found on our FTP server:

ftp://ftp.info-zip.org/pub/infozip/

ftp://ftp.info-zip.org/pub/infozip/win32/

The "readme" there is also obsolete, but a sufficiently deductive mind might take a whack at these kits (in the "win32" subdirectory):

unz600dn.zip

unz600xn.exe (SFX)

zip300xn.zip

[...] any particular PKWARE APPNOTE probably includes features which Info-ZIP programs don't support, but, yes, for a fairly broad feature set, our programs should do the job. [...] I'm not sure what works for Zip 3.0 and UnZip 6.0 in in various Windows environments. Thus, I'm not sure if everything for those versions will just work in Cygwin or MinGW, and I haven't looked at what the GnuWin32 folks have done [...]

I also pointed out in the previous initial version of this answer that it may be possible to use GnuWin32 versions of the Zip and UnZip packages. The GNUWin32 zip GnuWin32 Zip v3.0. The appears to be up-to-date, while the corresponding GNUWin32 unzip v5.51 though GnuWin32 Unzip v5.51/5.52 appears to have a 2Gb limitation:

I wouldn't be amazed if the GnuWin32 programs worked, too, except that UnZip an older version 5.x won't work well with without large-file (bigger than 2GB) files or archives (though that may not be a fatal limitation for typical LibreOffice use). And there may be fewer bugs in UnZip 6.00 than in any 5.x.

The 2Gb limitation is also mentioned in support.

There are several related items of interest from the OASIS mailing list (e.g., this 2006 message) and OASIS Technical Committee issue tracker (e.g., #2082, 2150, #2250, #3353 in relation to the old version of Info-ZIP that ODF v1.2 uses.

, and #3553 from 2009-2010).

click to hide/show revision 5
correct Info-ZIP (broken) download links

I am going to expand this answer to include some general information about the zip utilities required by ODF and the SDK. Many thanks to Steven M. Schweda for his assistance with this matter. If there are any inaccuracies here, they are mine and I will do my best to correct them as they are pointed out.

The ODF v1.2 specification references PKWARE APPNOTE v6.2.0 i.e., a .ZIP file format specification. Info-ZIP is a project that attempts to provide support for the non-proprietary aspects of this specification through a series of packages, such as Zip, UnZip, WiZ, and MacZip. The equivalent Info-ZIP APPNOTE is v20040908 which is currently the latest version. From the Info-ZIP site:

Info-ZIP's purpose is to provide free, portable, high-quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc.

Currently the LO SDK Installation page points to the Info-ZIP website. The Zip and UnZip packages are required by the ODF SDK. At the time of writing my initial answer here the Info-ZIP download links links (e.g., Zip and UnZip) were all broken. I contacted the Info-ZIP forum admin to assist with finding an alternative solution and they responded with this helpful information:

It makes some sense for ODF specs to refer to a PKWARE APPNOTE, because that is the official .ZIP standard document, but it's good to be aware that some of what it describes are PKWARE-proprietary features (some with patent encumbrances), and the Info-ZIP programs do not implement the full PKWARE APPNOTE spec. In most circumstances, the (subset) features used are no more exotic than Deflate compression and, perhaps, large-file (Zip64) support, and Zip 3.x and UnZip 6.x can cope with those. Zip 2.x and UnZip 5.x lack large-file (Zip64) support, but even that may not affect your users. In general, however, newer versions tend to have fewer bugs than older versions, so I'd resort to an UnZip 5.x only if I couldn't find a working 6.x.

The current released versions are Zip 3.0 and UnZip 6.00, and those are in the latest kits with executables on our server(s). [...] Many (most?) of the external links (and some of the internal ones, too, I suspect) on our Web site are too old to be useful, but many useful things may be found on our FTP server:

ftp://ftp.info-zip.org/pub/infozip/

ftp://ftp.info-zip.org/pub/infozip/win32/

The "readme" there is also obsolete, but a sufficiently deductive mind might take a whack at these kits (in the "win32" subdirectory):

unz600dn.zip

unz600xn.exe (SFX)

zip300xn.zip

[...] I'm not sure what works for Zip 3.0 and UnZip 6.0 in various Windows environments. Thus, I'm not sure if everything for those versions will just work in Cygwin or MinGW, and I haven't looked at what the GnuWin32 folks have done [...]

I also pointed out in the initial version of this answer that it may be possible to use GnuWin32 versions of the Zip and UnZip packages. The GnuWin32 Zip v3.0 appears to be up-to-date, while the corresponding GnuWin32 Unzip v5.51/5.52 appears to be an older version without large-file support.

There are several related items of interest from the OASIS mailing list (e.g., this 2006 message) and OASIS Technical Committee issue tracker (e.g., #2082, 2150, #2250, #3353, and #3553 from 2009-2010).