Is there a way to clone-install Cygwin?

Andrey Repin anrdaemon@yandex.ru
Tue Jan 28 21:35:00 GMT 2020


Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]!

> I have a question, is there a way to clone-install Cygwin?

> Like I have installed whatever packages I selected on some PC, then
> maintained that installation for a while, doing upgrades etc.  Now I need to
> install the exact same set on another PC.

> Can I pull up a list and use it in a sort of a batch install with setup.exe?
> I want to avoid to dumb-copy the entire C:\cygwin tree from one PC to another,
> rather use a semi-automatic install procedure from scratch, if possible,
> using the list of packages that I need.

> Thanks for all the insights you can provide.

Yes, this is possible. In two ways even.
The list you are looking for is, as has been mentioned,
/etc/setup/installed.db (you can `cut "-d " -f 1 < installed.db`), then you
could call setup.exe with necessary switches to install the set of packages
you want.
If you want to avoid downloading from external servers, you will have to move
your installation cache along with setup binary.


-- 
With best regards,
Andrey Repin
Wednesday, January 29, 2020 0:15:54

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list