dpkg list files

I discovered the -L switch on dpkg recently.

It is used to view what files were installed as a result of installing a particular package.

jmccrohan@lambda:~$ dpkg -L lsb-base
/.
/lib
/lib/lsb
/lib/lsb/init-functions
/etc
/etc/lsb-base
/etc/lsb-base-logging.sh
/usr
/usr/share
/usr/share/doc
/usr/share/doc/lsb-base
/usr/share/doc/lsb-base/copyright
/usr/share/doc/lsb-base/README.Debian.gz
/usr/share/doc/lsb-base/changelog.Debian.gz

Leave a Reply