PDA

View Full Version : saving dowloaded packages


mizar001
May 2nd, 2007, 07:48 AM
Hi. I have to install some packages every time i re-install ubuntu, and i dowloaded those packages through the add/remove program or aptitude (synaptic etc.).

But there's a way to avoid the need of a high band internet connection and the need to downloading every time gigabytes of the same things? There's a way to save packages to a local (say a DVD-R) repository ?

Thanks in advance.

Rui Pais
May 2nd, 2007, 07:59 AM
Hi,
packages are saved at /var/cache/apt/archives/
you can make a copy of those to a somewhere or to some media.

I usually make that folder a link to a folder (dapper, edgy, feisty) inside a partition (that i formated as xfs, cause packages can be big) and with different installs i have always those available cause they are not deleted with partitions formats.

Or you can save them to a cd or dvd and add tha media to /etc/apt/sources.list a posteriori .

paparucino
May 2nd, 2007, 01:04 PM
Or you can save them to a cd or dvd and add tha media to /etc/apt/sources.list a posteriori .

Try aptoncd. It saves all the .deb you dowloaded