Skip to content

Instantly share code, notes, and snippets.

@cybic
Created December 11, 2014 15:25
Show Gist options
  • Save cybic/261b42ee742489a5fc4a to your computer and use it in GitHub Desktop.
Save cybic/261b42ee742489a5fc4a to your computer and use it in GitHub Desktop.
List installed dpkg-packages from a file backup
# To list selections from a file backup
$ dpkg --admindir=/path/to/backup/of/var/lib/dpkg/ --get-selections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment