Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

My question is: can we take a backup of a particular package and its dependencies?

For example, if we install VLC it requires dependencies like kde filesystem,libcaca.so.0 etc.. can we take a backup of VLC and its dependencies? I'm using Fedora15

share|improve this question
Do you mean copying the actual rpm files used for the install? Search for where yum keeps its cache. Otherwise, can you be a bit more specific about "backup"? – Kevin Jan 26 '12 at 5:00
i mean yum install, because it automatically installs required dependencies. so if we can take the backup of those files then we can use it when we install it another time without using yum, that is my intention. is it right? – VKGS Jan 26 '12 at 7:47
up vote 2 down vote accepted

When you install any rpm packet from the net with yum it will saved in /var/cache/yum

Please, also read documentation about more specific options- here

share|improve this answer
Sergei, simple and clear. Thanks for the link. – VKGS Jan 26 '12 at 8:10

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.