This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Aug  3 08:19, Andrew DeFaria wrote:
> Christopher Faylor wrote:
> >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

What about

	cygcheck -f

?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]