On 16/01/2021 21:02, Marco Atzeri via Cygwin wrote: > On 16.01.2021 20:55, Hamish McIntyre-Bhatty via Cygwin wrote: >> In reply to Marco Atzeri: >> >> """ >> Some time ago I put a script here: >> https://stackoverflow.com/questions/46829532/cygwin-save-package-selections-for-later-reinstall >> >> >> """ >> >> This has been very useful for me. Is this in a git/other repository >> somewhere? If not, I think it might aid discovery for it to go with >> some other useful scripts in this repository: >> https://github.com/michaelgchu/Cygwin_Specific_Repo. >> >> What do you think of this idea Marco? >> >> Hamish McIntyre-Bhatty >> > > feel free to use it. I never store anywhere other than stackoverflow. > Attached the current version, I don't rememeber if I changed > it in the meantime. > > Attached another that you can find useful > it uses cygcheck and binutils to provide the list of first level > packages containing the needed DLL's > > $ cyg-dependency.sh /usr/bin/octave-5.2.0.exe > /usr/bin/cygwin1.dll  =>  cygwin-3.1.7-1 > /usr/bin/cygX11-6.dll  =>  libX11_6-1.7.0-1 > /usr/bin/cyggcc_s-seh-1.dll  =>  libgcc1-10.2.0-1 > /usr/bin/cygstdc++-6.dll  =>  libstdc++6-10.2.0-1 > KERNEL32.dll  =>   Windows System > > I found useful to avoid some screwup > > Regards > Marco Thanks Marco. All done, attributed to you under BSD and available at https://gitlab.com/hamishmb/cygwin-scripts. Hamish