Personal tools
You are here: Home Knowledge Finding which cygwin package contains a particular file
Document Actions

Finding which cygwin package contains a particular file

I often need to install a cygwin package to get a single file, but I can't find which package I need. This article explains how.

The other day I needed to install the cygwin "strings" command.  No problem, I'll just run the cygwin installer, grab the "strings" package, and I'll be all set.  But not so fast.  There is no "strings" package; "strings" is part of some other package.  But which one?  I finally stumbled upon the cygwin package-grep facility.  By using the URL:

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=strings.exe

I was able to determine that strings.exe is in the "binutils" package.  A few minutes later, I was happily using the "strings" command.

I haven't found a user interface to package-grep, so I just build the URL by hand.

Don't Let the Economy
Slow You Down

You've just found dedicated experts who can help. Learn how you can work smarter with less stress.

1. Discover better ways to achieve your business goals and regain control.

2. Learn proven ideas from professionals dedicated to your success.

3. Take action and move forward - just fill out this quick form:


First Name

Last Name

Company

Phone

Email
We like privacy and won't share your information.