Last active
July 23, 2018 13:24
-
-
Save dserodio/81618ea93cb32087cb197fbdbc3193db to your computer and use it in GitHub Desktop.
apt and dpkg snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# which package owns a file | |
dpkg-query -S /path/to/file | |
# list files in an installed package | |
dpkg-query -L $PACKAGE | |
# list files in a deb file | |
dpkg-deb -c <package_name.deb> | |
# see also apt-file(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment