PDF Print E-mail
Backing up and restoring software installations in Ubuntu

 

Sometimes you want to restore (or clone) your favorite (studio ;-)) installation, to a clean installed, freshly formatted machine, without having to manually install all your favorite applications again. This can be done, by exporting the list of all your installed applications to a text file and reinstall all your applications listed in the text file to your freshly formatted machine (as Hannibal would have said "I love it when a plan comes together").

First create a text file in your 'Home' folder containing a list of all your applications of your favorite (studio ;-)) installation. Open a terminal window:
$ sudo dpkg --get-selections > app-backup-list.txt

 

Next copy the file “app-backup-list.txt” from your 'Home' folder to your freshly formatted machine (your 'Home' folder will do ;-). Now to restore your applications, open a terminal window:
$ sudo dpkg --get-selections < app-backup-list.txt
$ sudo apt-get -y update
$ sudo apt-get dselect-upgrade

 

Suggestions for improving this article are welcome, please let me know and This e-mail address is being protected from spambots. You need JavaScript enabled to view it .

 

Sponsored Links