View Antoni Milton's profile on LinkedIn

Monday, March 29, 2010

How to find which rpm (package) install the particular file?


Using “rpm –qf” command, we can find the rpm package name for the lib file.

Example:

[root@home linux]# rpm -qf /usr/lib/libpython2.3.so
python-2.3.4-14.1

[root@home linux]# rpm -qf /usr/include/boost/blank.hpp
boost-devel-1.32.0-1.rhel4

No comments: