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.