[wplug] debian install question

Eric C. Cooper ecc at cmu.edu
Wed Jan 12 16:58:25 EST 2005


On Wed, Jan 12, 2005 at 04:10:59PM -0500, John Harrold wrote:
> I'm installing debian on a computer in the lab --- call the computer 'A'. I
> already have debian installed on computer 'B' and I have a lot of
> applications installed. Is there an easy way to get a list of applications
> installed on 'B' and have 'A' install them?

MachineB %  dpkg --get-selections > foo
MachineB %  scp foo MachineA:

(At this point you might want to use a text editor on foo to remove
anything that you don't actually want on A.)

MachineA #  dpkg --set-selections < foo
MachineA #  apt-get upgrade

-- 
Eric C. Cooper          e c c @ c m u . e d u


More information about the wplug mailing list