Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

When I download a package from Synaptic, where does Ubuntu store the install files, if at all? Bandwidth is limited in my country, and I would like to download programs only once and back them up for future use.

share|improve this question
@Hernan good place to start -> – hhlp Feb 19 '11 at 20:43
up vote 4 down vote accepted

Packages are stored in /var/cache/apt/archives/. I suggest using APTonCD install aptoncd for backing them up to a CD or DVD. You can then use this disk as an offline repository.

share|improve this answer
Note that the cache is frequently cleaned up, so if you plan to use the cache, you ought to increase the cache size (I couldn't find out quickly how to do that). – loevborg Feb 20 '11 at 13:55
You could change the settings here sudo gedit /etc/apt/apt.conf.d/20archive by setting the MaxAge and MaxSize variables – Ubermensch Feb 7 '12 at 12:17

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.