Difference between revisions of "Dpkg"
From Hackepedia
Jump to navigationJump to searchLine 10: | Line 10: | ||
/usr/bin/su-to-root | /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. | + | 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 [[Variables|sensors-applet.deb]] |
Latest revision as of 22:36, 28 March 2015
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