X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B28BB39524BA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1700693128; bh=8v7FBgQToVR+bt6F/xCsOLMJL36zYbeGs/5paNMpeL0=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=C1bHy0dAnN65IVM8iEtBE42kQyjTyxfpmZZdlEB7WElfsZTixCCZ5qntmpChxQGSU 7dThS266u41//LK0sk65QcJqd0L1iUPsAOje0OtjUEMiJG6M01NYZiXedbCD1OPo6x mzZe9QukzN5Rt2NtcSrWmkKOF2cL2Do3rD5INRv4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DDFC33858419 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DDFC33858419 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700693111; cv=none; b=TNikH+ZM2NdYJtMADnpn499kW61DjSrGKDGHTVZxC329dJP2apznPAiyCKapypiq+xTTJ1kUB2tQaPdeFJLqRpadse6QWyXQq2+UkY7GdCBmVj6DIXRG11mhy4Itz4QgGGPfRHThxCtfVf93a3WKtsZbVXt/mbDdkub6U/0QrX8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700693111; c=relaxed/simple; bh=2Xbo4F7KRbgFkFoKca3It5w6N4jGI3Te/e+w/3qrHgg=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=lMjUwaUzRTQlSup6yD0UtPyyUZOxb5EVxOrVMM7Mrza60chLvxxzgEZ6UE2uWX0skUcYC/39CUf1DF/hWENM2GDFmNMHFkQPoqhhC6Pjucy1kFsJtQPZI8GcK1mGRTiCNdl8wdYXLKtDC7+MTlG13swpGLa5fzMeJT78SzwpYPk= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700693099; x=1701297899; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xeJzHFfl4kJm7U6x5OjfhnM0v7AS6SGuMjYAiIGa8dA=; b=l37pwsR8HQd9APdwQxzHI+ei0o+/vNVIhv3Akrj4Uggdl2jsXbV10lkgZKJ0neKzBR BhRgK3ognL6Jb1qGPuR64UjtEr7pBjkQsVlHlNhls32LUIISLX1UUCAntZw1TDLRtCct G9EiETj4rpkw4m72TMVH8SMeu9sPEZ4HRvrQV74DqhPghsEfoAOCsCa68uSDGMpD6g+d dOLKQBsUUJT7s6Mx02PqpPfXFF3Pwxr8D0RrbXtQxMEn+EPUSS4bkMoN/P5wzn8qwBK0 ph7RzOqo9VMmRBd92+eCwCQC2MO19LSFnrixf6F/Z3FNYEw2vUYWOHrUqecKE5Tx37iJ wK4Q== X-Gm-Message-State: AOJu0YzyPcPBI0S/PQtfYkEQZAsvhTbj2IsVZppzPn3dBSQ7M+wU9RVH nC/XnwcgfO/PVlnGrMmVRQCeUyiPvQD38fy+n8uRNba5 X-Google-Smtp-Source: AGHT+IGlEEq/Zfz6T/VNQ16Rk/qtwaU/ouydK9vMP7rgpzctY6fEC/1VTfuE+1wvFW2KUfuCs7TIGc8y/87ekYYUHX4= X-Received: by 2002:a50:ec8d:0:b0:543:8391:a19a with SMTP id e13-20020a50ec8d000000b005438391a19amr2598367edr.40.1700693099170; Wed, 22 Nov 2023 14:44:59 -0800 (PST) MIME-Version: 1.0 References: <147f983f-eab8-4605-11e6-14709c56d87b AT cs DOT umass DOT edu> In-Reply-To: <147f983f-eab8-4605-11e6-14709c56d87b@cs.umass.edu> Date: Wed, 22 Nov 2023 23:44:23 +0100 Message-ID: Subject: Re: Capturing a Cygwin instance from another PC To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cedric Blancher via Cygwin Reply-To: Cedric Blancher Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3AMMk0YK032495 On Wed, 22 Nov 2023 at 17:15, Eliot Moss via Cygwin 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? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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