From s23
Jump to navigation Jump to search

!debian clone

< dpkg> One method of cloning debian installs is to take a current debian machine that is setup with the packages you want.

Run the command

dpkg --get-selections > ~/selectionfile

Then, after the base install on other machines use that file and do:

dpkg --set-selections < ./selectionfile && apt-get dselect-upgrade