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. -- -------------------------------------------------------------- Jeffrey Anderson | [log in to unmask] Lawrence Berkeley National Laboratory | Office: 50A-5104E | Mailstop 50A-5101 Phone: 510 486-4208 | Fax: 510 486-6808