Beyond the Sky

The place where surface stop and share the experience of life

where apt-get store your deb packages ?

,

I have a PC and laptop installed with Ubuntu and i want to install a package at both side, the package are large. Instead of apt-get at both side that make it download two times, I transfer the deb from one side to another.

All the deb are store in /var/cache/apt/archives, copy all the needed deb(s) to another side and apt-get install will skip over the download steps and start unpack.

kmouth - a talk programQEMU 0.8.0 + KQEMU

Comments

John Asbjørn BraastuMr Green Friday, February 17, 2006 9:15:28 AM

Will apt-get see that the packages exists locally automatically? Or do you need to pass some parameter to apt-get to make it use the local package instead of fetching it online?

mysurface Friday, February 17, 2006 2:51:02 PM

As long as the pakages is in /var/cache/apt/archives, you just need to apt-get install without any addition option. Given that the version must be the same.

Unregistered user Friday, February 10, 2012 9:34:40 AM

ruhulforever writes: Thanks for the apt-get path....

Write a comment

New comments have been disabled for this post.