Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
@Hernan good place to start -> askubuntu.com/questions/15672/how-to-install-packages-offline –  hhlp Feb 19 '11 at 20:43

1 Answer 1

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 ubuntuforums.org/showthread.php?t=1136793 –  Ubermensch Feb 7 '12 at 12:17

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.