Skip to content

Instantly share code, notes, and snippets.

@mileszs
Created December 22, 2008 21:59
Show Gist options
  • Save mileszs/39144 to your computer and use it in GitHub Desktop.
Save mileszs/39144 to your computer and use it in GitHub Desktop.
# List Installed Packages
# This is a Debian-based tip.
dpkg --get-selections
# This can be used to grep for certain packages:
dpkg --get-selections | grep php
# It could be used to generate a file of installed packages:
dpkg --get-selections > installed-packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment