Where does yum save the RPM files it downloads

rpmyum

Is there a temporary folder I can find the RPM's that yum downloads to install programs? During an installation yum shows the exact name of the RPM file but I don't know how to find it. How can I search for the RPM if I know the name of it?

Best Answer

I believe what you are looking for is /var/cache/yum/<repo>/packages. This directory is expunged during package cleanup.

You can search for a file by name with the find command. An example: find / -name 'package.rpm' Wildcards are supported. find -name 'package*.rpm'

Related Question