delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/16:12:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Tue, 29 Sep 2009 16:12:21 -0400
From: David Arnstein <arnstein AT panix DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Set up - Migrate to new machine
Message-ID: <20090929201220.GA25069@panix.com>
Reply-To: arnstein AT pobox DOT com
References: <5caea3690909281242s5506a817tfd2c073ca281ebf AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <5caea3690909281242s5506a817tfd2c073ca281ebf@mail.gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Sep 28, 2009 at 03:42:52PM -0400, Kevin Holleran wrote:
> I am building a new laptop and was wondering if there was a way I
> could copy some ini or setup file from cygwin to the new one so that
> the cygwin installer would install the same packages as opposed to
> having to go through and tweak the install to get it the way I want it
> again.

This is not an exact solution to your issue, but no one else posted
(yet) so here is my two cents.

This method duplicates the collection of software that you installed
on your old computer to your new computer. It does not copy settings
such as password list, custom mounts, and so forth.

On your old machine, execute the cygwin setup program and observe the
value of "Local Package Directory" in the GUI. This value will appear
on the fourth screen.

Recursively copy the file system directory that is the above "Local
Package Directory" from your old computer to your new computer. Any way
you can. Windows Networking, rsync, whatever.

Now execute the cygwin setup program on your new computer.

On the second screen, select the option "Install from Local
Directory." Note that at some point in the future, you will want to
switch back to the original choice, "Install from Internet." The setup
program remembers your settings, so you have to explicitly return to
this setting. Later.

For now, continue to the fourth screen. Enter a value for "Local
Package Directory" which is where you recursively copied all your
stuff from old computer to new computer.

On the fifth screen (categories), choose an appropriate setting for
the "all" entry. I think "Reinstall" should do it.

That's all.

--
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