Dpkg

A friend told me to check the "menu" package in Debian GNU/Linux to find out how to autogenerate my fluxbox windowmanager. A quick look at the dpkg Manual shows that -L will show me what files were installed on my system from that package. In my case, I know I'm looking for an application, which are usually installed in a directory that ends with bin:

/usr/bin/update-menus /usr/bin/update-menus.real /usr/sbin/install-menu /usr/sbin/su-to-root /usr/sbin/wm-menu-config /usr/bin/install-menu /usr/bin/su-to-root
 * 1) dpkg -L menu | grep bin/

Lucky for me, when I read the first man page (update-menus) I realized this is the application I was looking for.

To see the files a .deb file will install:


 * 1) dpkg-query -c sensors-applet.deb