If you want to know what files a rpm package copied to your system, you can find it out executing the following command:
rpm -ql foo
Tag: rpm
-
List Files in RPM Installed Package
-
RPM – Verify if a package is already installed
Command to search for an installed package in .rpm systems
rpm --verify mysql