8

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

7
  • 2
    Which installation mirror are you using? What happens if you try a different one? Jan 30, 2013 at 1:20
  • @Keith Thompson: No idea... I did "Download Without Installing" and then "Install from local directory" and don't know which one it was. Now I selected a new one and found the package. I really wonder why cygwin lists incomplete mirrors. I'd expect to get at least a complete list of all packages (if not the packages themselves).
    – maaartinus
    Jan 30, 2013 at 2:27
  • Look in your local package directory (which you would have specified when you first ran setup.exe). There should be a subdirectory corresponding to each mirror you've used. If you find that there's an incomplete mirror, you might want to tell both the Cygwin folks and the owners of the mirror about the problem. Jan 30, 2013 at 2:44
  • 1
    Sounds like you didn't download the zip package when you did the "Download without installing" step. When you go to install from that download, you'll not find the zip package, because it wasn't downloaded.
    – me_and
    Jan 30, 2013 at 21:40
  • I'm with @me_and: when you separate the download and install steps, the install step shows you only the packages you downloaded. You really really don't want Cygwin setup.exe to download everything. A full Cygwin mirror is something like 21 GB! Jan 30, 2013 at 22:33

1 Answer 1

6

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
4
  • 5
    Also remember that unzip is a different package, called unzip Jan 29, 2013 at 22:26
  • @Costa: This sounds all logical, but see my question update.
    – maaartinus
    Jan 29, 2013 at 23:18
  • After choosing a different mirror, it worked. Actually it was the comment by Keith Thompson which helped me most, but your answer is correct and helpful, too.
    – maaartinus
    Jan 30, 2013 at 2:31
  • 404 on the zip link Dec 20, 2016 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.