how to check what cygwin packages are installed on the system ?
Andrew DeFaria
Andrew@DeFaria.com
Tue Aug 3 15:22:00 GMT 2004
Christopher Faylor wrote:
> On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote:
>
>> Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen:
>>
>>> On Aug 3 04:57, Povolotsky, Alexander wrote:
>>>
>>>> How to check what Cygwin packages are installed on the system ?
>>>
>>> cygcheck -c
>>
>> You can also have a look in /etc/setup.
>
> And you would do that rather than use the tool designed for providing
> the information, because...?
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
--
Disinformation is not as good as datinformation.
--
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