Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: how to check what cygwin packages are installed on the system ? Date: Tue, 03 Aug 2004 08:19:41 -0700 Lines: 30 Message-ID: References: <313680C9A886D511A06000204840E1CF08F430B4 AT whq-msgusr-02 DOT pit DOT comms DOT marconi DOT com> <20040803090946 DOT GN31522 AT cygbert DOT vinschen DOT de> <200408031119 DOT 56503 DOT gernot DOT hillier AT siemens DOT com> <20040803134644 DOT GF16002 AT trixie DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: h-67-102-25-114.lsanca54.covad.net User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) In-Reply-To: <20040803134644.GF16002@trixie.casa.cgf.cx> X-IsSubscribed: yes 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/