feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count

How to create and restore a list of all installed applications.

Labels: , , , ,

Today I am going to go over a method of getting all your applications back before you go ahead and reinstall/format. It is not an application itself, its just a command entered into the terminal. Im sure everyone has reinstalled their Ubuntu desktop before and had to do some hard thinking to get everything back. Open a terminal by clicking on the Gnome menu > Accessories > Terminal. This command bellow creates an output file in the present working directory called installed software.

Enter this command in the Terminal as I have bellow.

dpkg --get-selections > installed-software

Photobucket
For me the file that was created will be located in my home directory. Put this file somewhere safe because you will need it to restore the packages on a new installation!

Photobucket

Restoring

Lets say you reinstalled your system and now want all your Applications back. Copy the installed-software file to your new system home folder VIA a USB key or external HD of some kind. Open a Terminal and type this command when the installed software file is in the present working directory (ie...Home). You can edit the list to add or remove selected packages too.

dpkg --set-selections < installed-software

When its done, follow it with;

apt-get dselect-upgrade

2 comments:
gravatar
Jordan said...
June 16, 2008 6:08 PM  

That second command should be 'dpkg -- set-selections < installed-software'

And since most people use apt rather than dselect for the third I would recommend
'apt-get dselect-upgrade'

gravatar
CanadianLinux said...
June 17, 2008 2:38 PM  

Thanks Jordan, Fixed

Post a Comment