saving list of packages

marco atzeri marco.atzeri@gmail.com
Mon Dec 19 10:11:00 GMT 2011


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



More information about the Cygwin mailing list