I have a very long list of cygwin packages that I need to download (for various reasons I cannot install directly from the internet, instead I need to download the cygwin packages for later installation). Is there any way of doing this by providing a list of packages to some automated procedure rather than selecting each package by clicking in the gui? Any help appreciated!


The Chocolatey package manager uses Cyg-Get. You might see if either of those supports saving packages to a location and the using that location when restoring. Or you can always just zip up the cygwin folder. I often move cygwin to a new computer by just grabbing the whole folder from another system.

You also may be able to just use the command line options of the cygwin setup.exe

| improve this answer | |
  • The Chocolatey package manager seems to install only msi-packages? The cyg-get plugin itself seems rather immature at the moment. Installing lists is supposed to be supported but is in fact not, and it is not possible to remove packages or download packages without installing. – user1186155 Jan 30 '14 at 10:01

If memory serves, Cygwin packages are just tarballs. You can download them and untar them into your Cygwin root directory.

| improve this answer | |
  • That's true, but it neglects the post-installation scripts and system-wide updates such as rebasing, that the setup program performs. So the files would be there, but the packages might not be completely installed. – Andrew Schulman Feb 3 '14 at 19:24
  • Understood. Having not used Cygwin all that much I'm not familiar with their installation package contrivances. It looks like your answer here seems like a reasonable solution to the OP: stackoverflow.com/a/7366200/40764 – Evan Anderson Feb 3 '14 at 19:27

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.