Where is the bare cygwin package list located and how do I manipulate it?

Posted by matnagel on Server Fault See other posts from Server Fault or by matnagel
Published on 2010-01-08T14:35:48Z Indexed on 2010/04/01 22:13 UTC
Read the original article Hit count: 294

Where is the bare cygwin package list located and how do I manipulate it programmatically or from a shell or with a different method than the gui? I know the gui (setup.exe), and I'd love to go one or more levels deeper.

I can retrieve a list of selected/installed packages ( http://serverfault.com/questions/83456/cygwin-package-management ), but how do I write it back or to a different machine?

What I have in mind is when I install a new windows I would like to start with my package list in text form, an apply or inject it somehow to the new system.

Where is it? In the registry? In a binary file? in a local database?

Or has anybody done this, is there a tool, a tutorial? The essence of what I want is to manipulate the selected package list with something else than the gui. It is ok for me to use the gui for the setup process. So I could imagein manipulating the package List and then run setup.exe and just click through it.

Note: I do not want to manipulate the list of already installed packages but of packages that "should be installed". But if htis is not possible, maybe there is some workaround. E.g add an outdated version as installed and the installer will then install the new version.

© Server Fault or respective owner

Related posts about cygwin

Related posts about automated-install