copy installed files from one debian system to another:

dpkg --get-selections > installed_files
copy installed_files to the target system
dpkg --set-selections < installed_files
apt-get dselect-upgrade


copyright © 1997-2018  Oliver Schroeder (remove XYZ)