Fedora 14

I recently went to install some software using the source files.

When I ran the command


I got a message saying that

No package gthread-2.0 not found

After searching the internet some one had the same problem. I needed to install a package called


However, rather that searching the internet. Is there any yum command that can give me that information?

Many thanks for any advice,

yum whatprovides '*/pkgconfig/gthread-2.0.pc'
| improve this answer | |
  • How is this different from mine? Or you didn't notice it? Also, not all libraries have a .pc file. – tshepang Jan 23 '11 at 10:37
  • @Tshepang: It will look for the exact pkgconfig file that the configure routine in the question is looking for, instead of trying to search by a virtual provides which may or may not match the name it is looking for. – Ignacio Vazquez-Abrams Jan 23 '11 at 16:44
  • You mind explaining that on the answer itself. What if the asker doesn't know what pkgconfig is. – tshepang Jan 23 '11 at 17:01

Use yum whatprovides "*gthread-2.0*". (via)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.