Thursday, February 16, 2012

which rpm package file belongs to ?

How to find which rpm package owns a file?

To know this, run the following command.

rpm -qf [full path of the file]

For example:
[root]# rpm -qf /usr/lib64/libpthread.so
glibc-devel-2.12-1.47.el6.x86_64 Pin It
Related Posts Plugin for WordPress, Blogger...