Create a list of installed packages for automatic re-install

Posted: 21 July 2009 in English, Ubuntu
Tags: ,

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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s