delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/28/16:36:04

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <153786409.20200129002253@yandex.ru>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>,
cygwin AT cygwin DOT com
Subject: Re: Is there a way to clone-install Cygwin?
In-Reply-To: <SN6PR09MB2877F202738BF6B7029538F3A50D0@SN6PR09MB2877.namprd09.prod.outlook.com>
References: <SN6PR09MB2877F202738BF6B7029538F3A50D0 AT SN6PR09MB2877 DOT namprd09 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019