Create a list of installed packages for automatic re-install

Here is how i create a package list with the current software installed :

dpkg --get-selections > package.list

To restore the list after a new clean install and automatically re-install the packages :

sudo dpkg --set-selections < package.list
 sudo apt-get dselect-upgrade

As simple as that!

~ by gourgi on 21 July 2009.

Leave a Reply