How many times have to re-imaged or re-installed your laptop or desktop computer? Maybe you were sick of what was on there previously. Maybe you just decided to start over. Who knows? Who cares really? If you are like me you probably re-build your computers all the time because you are fiddling with new stuff, or tinkering with the latest and greatest Ubuntu build.
I once wrote about a free tool for Windows that will help you automatically download and install all the software you normally use in one convenient application. Well I found something similar for Linux while perusing the Ubuntu forums, and it's built in! Sweet damn I love the Linux terminal! You can do anything!
If you want to backup all of the applications you are currently running in your Ubuntu install all you have to do is run the following from the terminal:
sudo dpkg --get-selections > installed-software
That creates a file called installed-software. You can take that file and save it someplace safe for use later. Now if you ever re-install Ubuntu, you can restore all your favorite programs by saving your installed-software file on your new computer and running the following:
sudo dpkg --set-selections < installed-software
sudo dselect
Pretty easy right? I think this can go very well for my Ubuntu Minimal install the next time I build Bauer-Puntu.
[Via Cynical]
del.icio.us tags: how to, backup, create list, packages, applications, installed, ubuntu, linux,debian, restore, transport, transfer, clean, install