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!
Asked
Active
Viewed 613 times
2 Answers
0
If memory serves, Cygwin packages are just tarballs. You can download them and untar them into your Cygwin root directory.

Evan Anderson
- 141,881
- 20
- 196
- 331
-
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 03 '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: http://stackoverflow.com/a/7366200/40764 – Evan Anderson Feb 03 '14 at 19:27
0
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

Greg Bray
- 5,610
- 5
- 36
- 53
-
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