Skip to content

Instantly share code, notes, and snippets.

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 fieldse/412132f9db6838cd5107c9ab61917a8a to your computer and use it in GitHub Desktop.
Save fieldse/412132f9db6838cd5107c9ab61917a8a to your computer and use it in GitHub Desktop.
List files installed by a Debian or Ubuntu .deb package
dpkg -L <package name>

Example:

$ dpkg -L apache2
/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/apache2
/usr/share/bug/apache2/control
/usr/share/doc
/usr/share/bug/apache2/script
/usr/share/doc/apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment