Dpkg

From Hackepedia
Revision as of 21:36, 28 March 2015 by Franks (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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:

# dpkg -L menu | grep 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

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:

# dpkg-query -c sensors-applet.deb