From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20624 invoked by alias); 28 Jan 2020 21:35:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20610 invoked by uid 89); 28 Jan 2020 21:35:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*r:smtp, H*UA:Bat!, semi-automatic, semiautomatic X-HELO: forward102p.mail.yandex.net Received: from forward102p.mail.yandex.net (HELO forward102p.mail.yandex.net) (77.88.28.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Jan 2020 21:35:06 +0000 Received: from mxback26j.mail.yandex.net (mxback26j.mail.yandex.net [IPv6:2a02:6b8:0:1619::226]) by forward102p.mail.yandex.net (Yandex) with ESMTP id E3AB11D41A27; Wed, 29 Jan 2020 00:35:02 +0300 (MSK) Received: from iva1-bc1861525829.qloud-c.yandex.net (iva1-bc1861525829.qloud-c.yandex.net [2a02:6b8:c0c:a0e:0:640:bc18:6152]) by mxback26j.mail.yandex.net (mxback/Yandex) with ESMTP id qk2C5Ib8r8-Z28ug5vs; Wed, 29 Jan 2020 00:35:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1580247302; bh=nIR5X/pKb9u8x7HKdHGUf43HSBywa3ontMAkdFl/luI=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=gf6UzrlR0CEEPsICppcF5PRV3P4D0nF5M5QsTvZ2q8sBaxsHjVzE+81zS1j8dyc3f f5MBxNUXZ0iFobulvEExJnUivRinUjMni8ok1rPNmbHGg0ceG55J5t6THfgvCYt26q cn+zIeb5DBw/SLkr6pjRmHU9qCAeedjLTZmkMgr8= Authentication-Results: mxback26j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by iva1-bc1861525829.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id OMypezLTAY-Z2Ziuld5; Wed, 29 Jan 2020 00:35:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Tue, 28 Jan 2020 21:22:53 -0000 Date: Tue, 28 Jan 2020 21:35:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <153786409.20200129002253@yandex.ru> To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" , cygwin@cygwin.com Subject: Re: Is there a way to clone-install Cygwin? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00275.txt.bz2 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