View Full Version : [ubuntu] Package record backup
Rgibbons
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.
oldfred
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
http://ubuntuforums.org/showpost.php?p=7157175&postcount=5
http://kevin.vanzonneveld.net/techblog/article/restore_packages_using_dselectupgrade/
List Packages
dpkg --get-selections > ubuntu-files
Reinstall
sudo dpkg --set-selections < ubuntu-files && sudo apt-get dselect-upgrade
List with explanations of programs, not for reinstall
dpkg -l > ~/installed_programs.txt
oldos2er
March 13th, 2011, 06:51 PM
Or with Synaptic, File, Save or Read Markings; History, etc.
Rgibbons
March 13th, 2011, 07:44 PM
Thanks.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.