On 12/19/2011 10:45 AM, efa wrote:
hi,
I need to save the list of installed packages, to:
1) reinstall Cygwin on the same system
or
2) made the same custom Cygwin installation on another system

Is there an easy method equivalent to the Debian distribution:

To save:
$ dpkg --get-selections>  installedPackagesDate.txt

To recover:
# dpkg --set-selections<  installedPackagesDate.txt&&  apt-get dselect-upgrade

thanks,
Valerio


1)
cygcheck -c -d|sed -e "1,2d" -e 's/ .*$//' > installedPackagesDate.txt

2)
see "./setup --help"
at
setup -P

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

Reply via email to