See which rpm package a file belongs to

We make rpm packages for most of our libraries and applications, and that brings a lot of benefits. However, when you have too many packages you might (and probably will) forget which package installs a specific file.

$ rpm -qf filename

For example:

[root@videus ~]# rpm -qf /bin/bash

Then the file /bin/bash is installed by the package bash-3.0-31

1989 Zero Wing‘s broken english 

This is pretty straightforward and easy to remember

Leave a Reply

Your email address will not be published. Required fields are marked *