Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

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?

share|improve this question
up vote 6 down vote accepted

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'

share|improve this answer

I verified today that on RHEL 6.7, the files are stored in /var/cache/yum/x86_64/6Server/rhel-6-server-rpms/packages/.

It is also worth noting that the plugin downloadonly is included in RHEL 6:

# yum install yum-downloadonly
Package yum-plugin-downloadonly-1.1.30-30.el6.noarch is obsoleted by yum-3.2.29-69.el6.noarch which is already installed
share|improve this answer

Your Answer

 
discard

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.