SCIENTIFIC-LINUX-USERS Archives

March 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Suvayu Ali <[log in to unmask]>
Reply To:
Suvayu Ali <[log in to unmask]>
Date:
Tue, 10 Mar 2009 05:32:04 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Jeffrey D Anderson wrote:
> On Monday 09 March 2009 2:26:49 pm suvayu ali wrote:
>> 2009/3/7 Steven J. Yellin <[log in to unmask]>:
>>>    I think yum does go through contents of packages.  Try
>>> yum provides \*xrdb\*
>> that is inaccurate.
>>
>> yum [provides | whatpovides] is equivalent to rpm -q --whatprovides or
>> rpm -qf which searches through the rpm database for installed
>> packages.
> 
> No.
> 
> For example:
> 
> [root]# which xpdf
> /usr/bin/which: no xpdf in (/usr/local/bin:/usr/bin:/bin:/usr/bin)
> 
> [root]# yum provides /usr/bin/xpdf
> Loading "kernel-module" plugin
> Loading "fastestmirror" plugin
> Loading mirror speeds from cached hostfile
>  * epel: mirror.its.uidaho.edu
>  * sl-base: ftp.scientificlinux.org
>  * sl-security: ftp.scientificlinux.org
> Excluding Packages in global exclude list
> Finished
> filelists.sqlite.bz2      100% |=========================| 4.5 MB    00:00
> xpdf.x86_64 : A PDF file viewer for the X Window System
> 
> 
> That's the functionality that the original poster was looking for.
> 
It seems I was in error. Sorry for the misinformation.

-- 
Suvayu

Open source is the future. It sets us free.

ATOM RSS1 RSS2