unix

How do I determine what package a file belongs to on my Linux server?

To find out what package a file belongs to, you can use the rpm command.

To do so, just run rpm -qf /path/to/the/file.

Ex. #rpm -qf /bin/ls

coreutils-5.97-23.el5_4.2

Click to comment

Leave a Reply

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

To Top