public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Is there a way to clone-install Cygwin?
@ 2020-01-21 19:17 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  0 siblings, 0 replies; 23+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2020-01-21 19:17 UTC (permalink / raw)
  To: marco atzeri (marco.atzeri@gmail.com); +Cc: 'cygwin@cygwin.com'

> attached my solution to re-install or duplicate the packages of an existing installation.

Thank you, Marco!  I'll give that a try.


--
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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: Is there a way to clone-install Cygwin?
@ 2020-01-31 14:06 KARL BOTTS
  2020-01-31 14:13 ` Ulli Horlacher
  0 siblings, 1 reply; 23+ messages in thread
From: KARL BOTTS @ 2020-01-31 14:06 UTC (permalink / raw)
  To: cygwin


>>> Cygwin is totally portable! You can simply copy the installation folder
to
>>> another PC, copy the shortcut (edit target if needed) and it will work.

>> How do you copy it?
>> Which archive container do you use?

I have been using this approach for years.

To a new naked Windows box, if you can "mount" it over the network, e.g., map
a drive letter to it, then you can use cygwin tools from an existing box with
cygwin, to copy cygwin to the new.  I usually use cygwin tar, but I think 'cp
-a' will work.  I think in the past, I have used robocopy.  The key is the
links and symlinks: normal Windows tools won't get them right.

For upgrades, once cygwin is on both boxes, I always use tar.  I've got this
down to pretty much routine.  I do it once or twice a year.  I upgrade cygwin
on one box, vet it for a few days, then upgrade several others.  I untar into
an empty dir, then use native cmd.exe 'move' to swap the dirs.

Be sure to use 64-bit cygwin.  The 32-bit used to work, but now and then I
would have to fuss with "rebase".  I have never had that problem with the
64-bit.  


---
Karl Botts, kdbotts@usa.net


--
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

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Is there a way to clone-install Cygwin?
@ 2020-01-21  0:58 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  2020-01-21  1:27 ` Brent Epp
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin @ 2020-01-21  0:58 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hi List,

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.

Cheers,
Anton


--
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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-02-04 17:16 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 19:17 Is there a way to clone-install Cygwin? Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
  -- strict thread matches above, loose matches on Subject: below --
2020-01-31 14:06 KARL BOTTS
2020-01-31 14:13 ` Ulli Horlacher
2020-01-31 19:21   ` Achim Gratz
2020-01-31 20:25     ` Brian Inglis
2020-01-21  0:58 Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-21  1:27 ` Brent Epp
2020-01-31 10:25   ` Ulli Horlacher
2020-01-31 11:29     ` Ulli Horlacher
2020-01-31 12:05       ` Ulli Horlacher
2020-01-31 12:54       ` Thomas Wolff
2020-01-31 14:06         ` Ulli Horlacher
2020-02-01 10:05           ` Andrey Repin
2020-02-01 11:21             ` BGINFO4X
2020-02-03 16:40               ` Ulli Horlacher
2020-02-03 17:01                 ` BGINFO4X
2020-02-04 17:16                   ` Ulli Horlacher
     [not found] ` <16fc5b08e80.2780.a1382e26d1292f71ec6ef0cd03d49346@pdc.ca>
2020-01-21  2:33   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
2020-01-21  2:55     ` Brent Epp
2020-01-21  4:46 ` Marco Atzeri
2020-01-21 20:33 ` Achim Gratz
2020-01-28 21:35 ` Andrey Repin
2020-01-28 22:00   ` Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).