Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Each time I have to reinstall my computer or new incomers arrive in our team, we install cygwin, and each time, we forget to install a package. We can write somewhere useful packages, (i even just did it ^^).

But is there a way, to package cygwin packages, for example a texte file with all useful cygwin packages, that we give as argument setup.exe, or something like that ?

share|improve this question
up vote 1 down vote accepted

It seems to be possible by using the --packages (-P) parameter for the Cygwin Setup.exe. A nice sample batch script can be found here:

setup.exe ^
--no-shortcuts ^
--quiet-mode ^
--disable-buggy-antivirus ^
--packages ^
aria2,^
atool,^
autoconf,^
automake,^
autossh,^
[...]

Of course compiling a list of your favorite packages would still be needed, which can be done using cygcheck -c.

share|improve this answer
    
Great ! thx, i will try this asap. – Antoine Oct 26 '11 at 15:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .