Which Cygwin package contains a file?
Thursday, July 1st, 2010You never have all the tools you need. For Cygwin, I used to hunt through the package list and guess which package had what I was looking for. Well there is a better way. And someone else has already written about it.
This link tells you how to determine which Cygwin package contains a file.
In case that site disappears, here’s how (pretend we are looking for the strings command):
- There’s a web way:
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=strings.exe - and there’s a command line way (if you already have Cygwin installed):
cygcheck -p strings.exe
…and the answer is… binutils!

