Cygwin: save package selection

Save

open a cygwin terminal and ander this command

tail -n +2 /etc/setup/installed.db | awk '{print $1}' | sed 's/$/,/' | tr -d '\n'

Save the output string or redirect the output to a file

Restore

start the cygwin setup with the following options

setup.exe -q -P bc,nedit,screen,vim,wget,wgf,zsh,...
Tagged