how to check what cygwin packages are installed on the system ?

Andrew DeFaria Andrew@DeFaria.com
Wed Aug 4 02:21:00 GMT 2004


Christopher Faylor wrote:

> On Tue, Aug 03, 2004 at 08:19:41AM -0700, Andrew DeFaria wrote:
>
>> To answer the question: "Which package brought in this file?" as in:
>>
>> $ cd /etc/setup
>> $ str=gcc.exe
>> $ for pkg in *.gz; do
>>
>>> zcat $pkg | grep -q $str
>>> if [ $? -eq 0 ]; then
>>> echo $str appears in $pkg
>>> fi
>>> done
>>
> % cygcheck -f /bin/gcc.exe
> gcc-3.3.1-3

(Insert your best Johnny Carson voice here) "I did not know that!".

And I looked but I just missed it I guess...

-- 
What has four legs and an arm? A happy pit bull.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list