Skip to content

Instantly share code, notes, and snippets.

@olpia
Last active October 15, 2015 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olpia/d812b1c0fd6577556c00 to your computer and use it in GitHub Desktop.
Save olpia/d812b1c0fd6577556c00 to your computer and use it in GitHub Desktop.
APT packages list backup
Dump the list of currently installed packages:
dpkg --get-selections >output-file
Reinstall:
dpkg --set-selections <output-file
apt-get dselect-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment