Backup package configuration on Ubuntu

If your Ubuntu machine crashes, you can always restore it fairly quickly since Ubuntu is a breeze to install. If you backup your data, then you are cooking with gas. However, after years of installing various packages, it might take a while to remember them all.


The article referenced above shows how to save the list of all installed packages, as well as how to reinstall them all. The commands are shown below:

1. To get a list of all packages currently installed

2. To install all packages obtained by such a list

A comprehensive backup process should include that list as well as a copy of /etc

One Reply to “Backup package configuration on Ubuntu”

  1. In Ubuntu 10.10 (Lucid), “sudo dselect” does not seem to work. The command appears to be:

    > sudo apt-get -u dselect-upgrade

Leave a Reply

Your email address will not be published. Required fields are marked *