Wednesday, May 13, 2009

How to replicate the installed packages of one system on another

existing system:

sudo dpkg --get-selections > /someplacelikeafloppy/selections


new system:

sudo dpkg --set-selections < /someplacelikeafloppy/selections
sudo apt-get dselect-upgrade
The "selections" file is a plain text file, and can be edited to customize list of packages to install.

No comments:

Post a Comment