Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] Is there an RPM command that will do this?
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Fri, 19 Jan 2007 13:54:49 -0800
  • Message-id: <200701191354.50038.rschulz@xxxxxxxxx>
On Friday 19 January 2007 13:37, Greg Wallace wrote:
> Is there an RPM command where you can say "Here's a /dir/file. Tell
> me what package it's in, if any.".

% rpm -q --whatprovides /name/of/file


E.g.:

% rpm -q --whatprovides /bin/cat
coreutils-5.3.0-20.2


> Thanks,
> Greg Wallace


RRS
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References