0

I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system. I even want to be able to uninstall unwanted ones. How would I do this?

1 Answers1

0

I doubt, that this is a very good idea, but can do the following:

# Get packages from Host A
dpkg --get-selections | grep -v deinstall > outfile
# Install packages from Host A on Host B
sudo dpkg --set-selections < outfile
BulletBob
  • 1,780