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

need to know where downloaded packages will be saved after updating ?

i want to copy the folder of packages , and reinstall Linux and install the packages without downloading them again , so i need packages file . Am i allowed to do this and How?

thanks ;

my Ubuntu Linux version : 12.10 32bit

share|improve this question
Why do you want to reinstall? Is something broken? You could install from CD and choose not to install updates during installation (I hope this option is still available), though this would still download some packages like language files. Then copy the contents of /var/cache/apt/archives into the same directory on the new partition and run update. – LiveWireBT Jun 8 '13 at 8:09
thanks alot . i need to reinstall because i may remove linux and install it again , so i dont want to download the packeges again and again . – tsepehr Jun 8 '13 at 8:13
up vote 8 down vote accepted

The .deb packages that you have already downloaded in apt-get are stored in /var/cache/apt/archives/.

share|improve this answer
thanks , can i install them later if i have a backup of this folder ? for example , if want to give this folder to a friend who has no internet access to install the backups ? totally i mean HOW TO INSTALL PACKAGES WHITOUT DOWNLOADING THEM , JUST BY HAVING THE .deb FILES ? againg , thanks – tsepehr Jun 8 '13 at 8:09
That should be possible. See my comment under the question. – LiveWireBT Jun 8 '13 at 8:09
i checked it , that was right . thank you . it can be installed from a cd . do i need to do more or if i just copy .dep files into cd is enough ? – tsepehr Jun 8 '13 at 8:23
I don't know if the installer will pick up the newer packages if you put them on the CD and could just guess into which directory to put them on the CD. Manually copying the files back to /var/cache/apt/archives after installation would be easier than reading up on how to produce respins/remasters of installation media. – LiveWireBT Jun 8 '13 at 9:12
@sepehr Also take a look at… or – LiveWireBT Jun 8 '13 at 9:15

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.