Which cygwin package contains the zip command

cygwin;installation

It's hard to believe, but there's no zip in my cygwin (I can't recall excluding any packages; on the opposite, I added a lot of stuff).

  • How can I install it?

The search page returns "zip", but typing "zip" in the cygwin-setup search window shows "bzip2" and "gzip" only, no "zip". I wouldn't be surprised if "zip" was contained in these packages, but while both "bzip2" and "gzip" commands work, I'm getting "zip: command not found".


My cygwin still pretends there's no zip at all:

> cygcheck -vf /usr/bin/zip
> type zip
bash: type: zip: not found
> /usr/bin/zip
bash: /usr/bin/zip: No such file or directory

And there's no "zip" package in my setup:

enter image description here

Best Answer

The package itself is called zip. The page you link to is exactly it, so I'm not sure why it wouldn't be working for you. https://cygwin.com/packages/x86_64/zip/

$ which zip
/usr/bin/zip

$ cygcheck -vf /usr/bin/zip
/usr/bin/zip: found in package zip-3.0-11
Related Question