copy your debian installed packages to a new machine
June 17, 2017
Run this to retrieve a list of installed packages:
dpkg -l | grep ^ii | awk ‘{print $2}’ > installed_packages
Then install on new system with:
apt-get install $(cat installed_packages)
You should probably look at installed_packages and remove any obvious
errors.
Categories: sysadmin