View Full Version : [ubuntu] Package record backup

March 13th, 2011, 06:33 PM
Mintppc has a nice little backup tool for making a backup record of all the packages you have added since the initial linux install.

Does Ubuntu or anyone else have such a backup utility? It would be nice to have it all the packages documented somewhere in case I ever have to reinstall and figure out what packages I installed.

March 13th, 2011, 06:41 PM
This lists all packages, but when reinstalling it only add ones not already installed. Since it is just package names it installed the correct version for your distribution. I run this regularly and include it in /home so it is part of my backups.

You may want to edit - for example my list still has OpenOffice, but Ubuntu is changing to Libre. If you do not want both, you have to edit your list.

from lovinglinux - use dpkg to list installed apps

List Packages
dpkg --get-selections > ubuntu-files
sudo dpkg --set-selections < ubuntu-files && sudo apt-get dselect-upgrade

List with explanations of programs, not for reinstall
dpkg -l > ~/installed_programs.txt

March 13th, 2011, 06:51 PM
Or with Synaptic, File, Save or Read Markings; History, etc.

March 13th, 2011, 07:44 PM