X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7909C3857C58
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1700669756;
	bh=2OeE+Rg+hNMLgQwh16G17ISdtEi2G/jkuUhcwwSTrvs=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=gVFDdTk5zvMLos/QN9P3fAJ9RNe6uishKjWdzaNUJdhWVROV88Y4YI+4qk5T3VcyK
	 c49xbufNyKueHN1I2fhwmclB44qWLSVsGshPZuqK3fBeJ/dvzDKK8Mc7ydgULeRtB0
	 MjNvUB7djgNkBP3tKeYh0OXykYzWnwu/rzZvr40Y=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A84973858D3C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A84973858D3C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700669720; cv=none;
 b=IRkMaEkT+fRGrU0V8SroOVmZr/7UGwUKc1fIDfZju0pc9pCE137LWSWk67gV3Aa9lQt18o0jG7x81gGiyxf1CTflP15jRcMDad0IGjLx4PCpogz6RMb9SfKadp2yCpOyv5lRW7Ew6K5lrd8nIuZZFGM8fALx7J266KE3zRX1TCY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1700669720; c=relaxed/simple;
 bh=jQrk6DMiU/EYxjcKXIi9yotabJHUMY68P/B6Zuh4IOs=;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=rJrh8KZFvbAqURAX6gRpdG6HGlUG6O+r2H0OGh1ewW2CZVEUu7Cpa4OlsWbcJto68eNpVAXzswzaLJ4NvW1gnoNn1TR9v2iusEUXZx30EZZsdxSCbpT9NMkoPEgUWbJcavj9aitY0jq1c9E7Y10q+aGpQ9cF4p7f9YBb7pKOokg=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-ASG-Debug-ID: 1700669716-24039d196ddaee00001-w5GHUG
X-Barracuda-Envelope-From: moss@cs.umass.edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
Message-ID: <147f983f-eab8-4605-11e6-14709c56d87b@cs.umass.edu>
X-Barracuda-RBL-Trusted-Forwarder: 192.168.50.223
Date: Wed, 22 Nov 2023 11:15:17 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
 Thunderbird/102.15.1
Subject: Re: Capturing a Cygwin instance from another PC
Content-Language: en-US
X-ASG-Orig-Subj: Re: Capturing a Cygwin instance from another PC
To: Bill Stewart <bstewart@iname.com>, cygwin@cygwin.com
References: <DB9P251MB00639D5E85344DBC6BB9E9A2DEBAA@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
 <CANV9t=QVXeT+rBuSuZu4ogic36L4SRUqqAerCyAYzvKKqm+iUQ@mail.gmail.com>
In-Reply-To: <CANV9t=QVXeT+rBuSuZu4ogic36L4SRUqqAerCyAYzvKKqm+iUQ@mail.gmail.com>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1700669716
X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 1253
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.117107
 Rule breakdown below
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin@cygwin.com>
Reply-To: Eliot Moss <moss@cs.umass.edu>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AMGGDP9027188

On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote:
> On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote:
> 
> I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I
>> have in another Win10 PC. I copied the C:\cygwin64 folder from the Win10 pc
>> to the Win11 pc, then I downloaded a fresh setup-x86_64.exe from
>> cygwin.com to the win11 PC. I ran it and chose "Install from Local
>> Directory" and only one shortcut for "Cygwin64 Terminal" was created on the
>> desktop. No Cygwin nor Cygwin-X folders were created on the Start menu. The
>> original cygwin from the Win10 PC had X installed also.
>>
> 
> I don't think "Install from Local Directory" means "reproduce same cygwin
> installation on a separate computer".

In fact, it means to install using the package files in some local directory,
i.e., "assume the packages are already downloaded".

It would be reasonable to copy over downloaded packages.

I believe there are commands / techniques that would then make it fairly
easy to install that specific set of packages "from scratch" (but from
the local copy of the packages).  Copying *installed* file hierarchies
is trickier because of permission / ownership concerns.

Best - EM

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

