How to reinstall Debian and extra applications?
I reinstall Debian on a regular basis and my biggest problem is to reinstall the extra applications I need with Synaptic. So far, I reinstall them one at a time when I discover it's not there and I need it.
Is there an easy way to do that automatically? Thank you for your help. |
Actually, yes, there is and it is really easy:
At first, we need the list of installed packages on from the system that you want to "re-fresh": Code:
dpkg --get-selections > packages Then go ahead and install the new system, the minimal installation is all we need. If you have done that we need to tell dpkg about the packages you want to have installed on the system, for that we feed it with the package list we have created in the first step: Code:
dpkg --set-selections < packages Code:
apt-get dselect-upgrade |
All times are GMT -5. The time now is 12:26 PM. |