Author Topic: Searching Files on the RPM  (Read 2881 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Searching Files on the RPM
« on: April 12, 2022, 06:30:54 pm »
Hi

I usually get into the issue that someone tell me install xxxxx.exe or yyyy.dll from the rpm repository and I have no idea what is the name of the package.

I was suggested to use "yum whatprovides", for example "yum whatprovides */libcn0.dll"
The command used to work, but now it does not procedure any results.

Any ideas on how to search for files or what is going on?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Tom

  • Full Member
  • ***
  • Posts: 194
  • Karma: +5/-0
    • View Profile
Re: Searching Files on the RPM
« Reply #1 on: April 12, 2022, 08:18:11 pm »
Hi

I usually get into the issue that someone tell me install xxxxx.exe or yyyy.dll from the rpm repository and I have no idea what is the name of the package.

I was suggested to use "yum whatprovides", for example "yum whatprovides */libcn0.dll"
The command used to work, but now it does not procedure any results.

Any ideas on how to search for files or what is going on?

Regards

Yes: use

Code: [Select]
yum provides libcn0.dll
instead of yum whatprovides.

Use

Code: [Select]
yum | more
to see a list of all yum commands.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Searching Files on the RPM
« Reply #2 on: April 13, 2022, 02:39:06 pm »
Thanks Tom. I'm trying it out and seems to work.
Martin Iturbide
OS2World NewsMaster
... just share the dream.