Reinstalando todos os pacotes de instalação antiga
Backup list of installed software
Debian Linux If you are using Debian Linux use dpkg command to list installed software:
$ dpkg --get-selections
Store list of installed software to a file called /backup/installed-software.log
$ dpkg --get-selections > /backup/installed-software.log
Now you have a list of installed software. After installing base system you can immediately install all software.
Debian Linux Debian Linux makes your life easy. All you have to do is type following two commands:
# dpkg --set-selections < /backup/installed-software.log
Now your list is imported use dselect or other tools to install the package.
Select ‘i‘ for install the software.