How to Sync apt-get Installations Between Multiple Computers

aptdropboxpackage-managementsync

Is there a way to synchronize my installations (and removals) between multiple PCs?

Preferably with dropbox – since I'm already using that to keep my files in sync.

I thought of an alias for the apt-get install and apt-get remove commands that stores the parameters to a file (one for install, one for remove) and another command that reads all the entries in the file and executes the respective command. Is this a realistic approach?

Best Answer

You could use puppet to create configuration files specifying which packages should be installed, and you could use Dropbox rather than a puppetmaster server to synchronise the puppet config between machines, plus a cron job to periodically run puppet and implement any config changes.

Related Question