Ask Your Question
0

How to find out which package provides a specific library?

asked 2013-12-17 10:50:11 -0500

Septi gravatar image

Suppose I know the specific library that is provided by some package. I'd like to find out the name of the package that provides the library. E.g., I have the /usr/lib64/libavformat.so.54 library and would like to know the package name.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2013-12-17 10:57:12 -0500

skytux gravatar image

updated 2013-12-17 10:57:57 -0500

If the package is installed, then:

$ rpm -qf /usr/lib64/libavformat.so.54
$ ffmpeg-libs-1.2.4-2.fc19.x86_64

If it isn't installed, you can install it to see the name (already installed in my system):

$ sudo yum install /usr/lib64/libavformat.so.54
$ Package ffmpeg-libs-1.2.4-2.fc19.x86_64 already installed and latest version
  Nothing to do

HTH,

Germán.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-17 10:50:11 -0500

Seen: 1,663 times

Last updated: Dec 17 '13