X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=kfE3JsFYfb+sDECK QbK3RunUK/P/8yIWQL8UiVE25p3QtMb3WP4DCA8rNEuMtdOlgTwpRrHMRDPwpSf8 1OArv2hp6+Qf+lQcuJOeF7VvU2cMXzHRlqIInhyN7bpvE1lYdA7b7zrdPp6FPnnv jxo+7CyiCeZPEQz8Ph/bJef5NNk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=azbGv+wJ18iquQYEMt9qc/ /i+Mo=; b=X6ZbPdow2a0ukcbKBZWZYOdQyKnpWW0gGOhUsFvWTYtHPx+kDaJRop y0O4HeFINmwITXJh69foDaKmLxONP/ZMGrtZe4URRrSpwPXP98SmuLHS/9dRi6MU fVd5RS4SyMaqBKxBgTY3OYK5mhD7F7dYh1IJ0xBU55oMa0jDZYluk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 Date: Wed, 29 Jan 2020 00:22:53 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <153786409.20200129002253@yandex.ru> To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" , cygwin AT cygwin DOT 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 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