Back up and restore my package list
This page was last updated on October 15, 2009.
- Create a text file containing a list of my packages:
- Install the packages from my package list onto another computer or a new copy of my operating system (Note that this must be the same release of the operating system the packages were on):
- Clear the dpkg selections:
- Show dpkg the list you made:
- Install the packages:
dpkg --get-selections > mypackages.txt
dpkg --clear-selections
dpkg --set-selection < mypackages.txt
dselect update
Obligatory Happy Ending
And they all lived happily ever after. The end.
