Is it possible to execute one script which reads through a file containing a list of packages/applications, tests if each entry is already installed and if not, proceed to install?
I'm trying to find an approach which I can use in installing applications on a number of virgin servers autonomously.
dpkg --get-selections > selections
on one computer thendpkg --set-selections < selections
on the other servers. Also, check http://unix.stackexchange.com/questions/7364/how-do-i-migrate-configuration-between-computers-with-different-hardware/7397#7397 http://unix.stackexchange.com/questions/79125/reinstalling-all-debian-packages/79165#79165 http://unix.stackexchange.com/questions/8272/what-i-can-i-do-to-make-the-transition-to-some-new-computer-hardware-safe-and-sm/9400#9400 etc.) – fredtantini Jun 01 '15 at 09:55