How can i get the install path from yum

centos5pathsyum

i install several application using yum in CentOS
now i like to see the installed application path's
where each component yum downloaded got installed
how can i do that ?

Best Answer

You can use rpm -ql PACKAGE_NAME or rpm -qpl /path/to/RPM/file to get the paths to all the files and directories that are managed by the RPM. If you're looking for the actual RPMs it downloaded, I believe it puts the download RPM's into /var/cache/yum/*.rpm.