Check if a package is installed

Vincent Rivière
Mon Oct 1 11:03:00 GMT 2012


I would like to know how to reliably test if a Cygwin package is already 
installed (just like setup.exe does).

Currently, I test the existence of /etc/setup/<package>.lst.gz. It works 
perfectly for me, but a user reported to me that that file was missing 

I see there is also package information listed in 
/etc/setup/installed.db. Maybe this information should be considered as 
more reliable?

Vincent Rivière

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list