Ubuntu tip: backing up installed packages

1 12 2008

I have just installed a fresh copy of the new Ubuntu 8.10.

In order to mantain all the packages installed in my old system I generated a list of the currently installed packages, so I could restore them later.

dpkg --get-selections > packages

This generates a file with all the installed packages in your system. Just copy it to a safe place, usbstick or CD.

After you have installed the fresh copy of Ubuntu you can recover what was installed in your previous system with the file you generated and the following commands:

dpkg --set-selections < packages
apt-get dselect-upgrade


Actions

Informations

One response to “Ubuntu tip: backing up installed packages”

2 12 2008
Pages tagged "ubuntu" (01:18:41) :

[...] bookmarks tagged ubuntuSite about ERP ! Helius: Ubuntu tip: backing up installed packages saved by 1 others     SunflowerLover45 bookmarked on 12/01/08 | [...]

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image