Monday, April 12, 2010

Upgrading Ubuntu Clean Style

The point is to do a fresh install of Ubuntu, but get back all the applications that you previously had installed. If you don't want to loose all your files/settings make sure to keep /home on a separate partition. I am not going to go into that right now since that is pretty well covered here.

  1. Get a list of your installed packages before you start re-installing by running "dpkg --get-selections > installed-software.txt" from somewhere in your home directory.
  2. Install your new copy of Ubuntu
  3. Install the dselect package
  4. Set your selections by running "dpkg --set-selections < installed-software.txt"
  5. Install the selected software by issuing the "dselect" command.
  6. Profit??

0 comments: