Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello all 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 ?

share|improve this question

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.

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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