I am trying to copy all of the packages I have installed on one Debian machine to another Debian machine without doing another apt-get install and downloading all of the package all over again.

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

They're stored in:

/var/cache/apt/archives/

unless you've issued a:

apt-get clean
link|improve this answer
Thank you so much! So, let's say if I copied the files to another machines, what's the easiest way to install all of them? – David Jan 15 at 17:59
2  
Assuming that all the dependencies are satisfied: dpkg -i *.deb. – cYrus Jan 15 at 18:04
feedback

If you had already issued

apt-get clean

you can take a look at these pages to learn about replicating the same package configuration on the other machine

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.