Site original : shaarli-Links

⇐ retour index

Linux Get List of Installed Software for Reinstallation / Restore All the Software Programs

samedi 20 février 2016 à 19:12
You can store list of installed software to a file called /backup/installed-software.log, enter:
$ dpkg --get-selections > /backup/installed-software.log
Under a Debian/Ubuntu Linux type the following two commands to reinstall all the programs:
# dpkg --set-selections < /backup/installed-software.log
Once list is imported, use the dselect command or other tools to install the packages, enter:
# dselect
Select 'i' for install the software. OR use the following command:
# apt-get dselect-upgrade