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 ?


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.

  • Wrong on the path, but the rest is correct. – Ignacio Vazquez-Abrams Dec 3 '10 at 13:25
  • Ignacio, if you know the default path offhand, can you add it? I'll be happy to correct the answer. I don't run RPM-based distro at home, and I didn't feel like logging into my work computers to check. – Andrew M. Dec 5 '10 at 18:33
  • The yum cache is under /var/cache/yum. The packages will only be retained if the yum configuration states that they should be. – Ignacio Vazquez-Abrams Dec 6 '10 at 2:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.