delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 334A7385C6EB |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1700753133; | |
bh=BjUzc+I84B2W6KBFWld/MR9JV6+s+MvpQIZ70ErOnKM=; | |
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=OtBon68s6oNPg2t7Gnfv1UFlFMgYiTbURcyGWoeNZ6Y0mFUxrKbqBUhX5vjoOABJu | |
Mn5EB/ocr/DUEf9lxbP5AoTc/uXv1gw/PonM6poKq4PLC0M/eukkiDSVEq4Y2xS8xG | |
cRG6VNyvsjpumBnJ2an4W3FM4NUCluJDdteN7dn4= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 7E1383857C70 |
Date: | Thu, 23 Nov 2023 16:24:55 +0100 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Capturing a Cygwin instance from another PC |
Message-ID: | <ZV9ux85kiXSVpD6s@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <DB9P251MB00639D5E85344DBC6BB9E9A2DEBAA AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM> |
<CANV9t=QVXeT+rBuSuZu4ogic36L4SRUqqAerCyAYzvKKqm+iUQ AT mail DOT gmail DOT com> | |
<147f983f-eab8-4605-11e6-14709c56d87b AT cs DOT umass DOT edu> | |
<CALXu0Ufia+bHAHxB9xnSnDFdQtyYq_hB8G-XF92Sh+-M-dfAxw AT mail DOT gmail DOT com> | |
MIME-Version: | 1.0 |
In-Reply-To: | <CALXu0Ufia+bHAHxB9xnSnDFdQtyYq_hB8G-XF92Sh+-M-dfAxw@mail.gmail.com> |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 3ANFPX5D016399 |
On Nov 22 23:44, Cedric Blancher via Cygwin wrote: > On Wed, 22 Nov 2023 at 17:15, Eliot Moss via Cygwin <cygwin AT cygwin DOT com> wrote: > > > > 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. > > Does Cygwin have a way to dump the list of installed packages, and > feed that list back to Cygwin setup.exe? You just call `cygcheck -cd' and create a tiny script massaging the output into a comma-separated list. This you can feed into a setup-x86-64.exe -P call. Corinna -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |