Find Out Quickly Which Package Provides a Certain Library With YUM
One of the most dreaded things that you can see while trying to run some application or trying to install an rpm package is a message saying that some required library is missing.
Generally this is not a big problem, because most often the library that you miss is packaged in a package named similarly to the library. Sometime however this is not the case… Suppose for example that you’re trying to install IBM JDK 5.0 on a Fedora 11 box. You’ll most likely get the following error message:
1 2 | |
and there is no package named libstdc++ that you can install, so how can you find out which package do you need?
The answer is simple:
1 2 3 4 5 6 7 | |
Pretty neat, eh?