Mailinglist Archive: opensuse (3648 mails)

< Previous Next >
Re: [SLE] How to find the name of programs in SuSE 7.2?
  • From: Lenz Grimmer <grimmer@xxxxxxx>
  • Date: Wed, 4 Jul 2001 10:08:14 +0200 (CEST)
  • Message-id: <Pine.LNX.4.33.0107041005030.15530-100000@xxxxxxxxxxxxx>
On Wed, 4 Jul 2001, Eddie Howson wrote:

> On Wednesday 04 July 2001 6:09 am, Leah Cunningham wrote:
> > Eddie Howson (eddie@xxxxxxxxxxxxx) [010702 00:14]:
> > > One of the most frustrating things that I have found with 7.2, is that
> > > the description or details of a package no longers lists the name of
> > > files it contains. Over the weekend, I installed the fpk package (pascal
> > > compiler). It unpacks its files in a directory called fpc and the
> > > compiler is ppc386. It took me ages to find this out (actually by using
> > > an earlier distribution CD). Perhaps someone can enlighten me as to an
> > > alternative (easier) method. Don't get me wrong. I love SuSE 7.2 and was
> > > boasting about it to a friend who has had continuous problems with
> > > several of his systems running MS stuff. However, I would really
> > > appreciate some guidance here because it can get frustrating at times?
> >
> > rpm -qif <packagename>
>
> However, this command only gives me information about the package if I
> specify the location and name of the file. (If I put the name of the
> package as you suggest I get a no such file error message). I need the exact
> opposite. I need to be able to state the package and get the name of the
> files and their location. Someone did post me a script but I haven't got
> around to testing it as yet.

If you know the name of the file, but are not sure in which package it is
included, you can grep over the content description files on CD1:

mount /cdrom
grep <filename> /cdrom/suse/contents/*

or

zgrep <filename> /cdrom/ARCHIVES.gz

Bye,
LenZ
--
------------------------------------------------------------------
Lenz Grimmer SuSE GmbH
mailto:grimmer@xxxxxxx Schanzaeckerstr. 10
http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany
Please come back to Detroit, we missed you the first time


< Previous Next >
Follow Ups
References