下面将介绍如何在快速定位Debian系统软件的安装路径信息。
dpkg同样被用于安装、卸载和供给和.deb软件包相关的信息。
dpkg is a tool to install, build, remove and manage Debian packages.
主要使用以下这两个功能:
-L|--listfiles <package> ... List files `owned' by package(s).
-l|--list [<pattern> ...] List packages concisely.
例子:比如我们想查找chrome浏览器的路径
ii google-chrome-stable 22.0.1229.94-r161065 The web browser from Google
ii xserver-xorg-video-openchrome 1:0.2.904+svn1050-1ubuntu0.1 X.Org X server -- VIA display driver
这样我们就能找到具体的正确的包名了,然后就是利用包名查找地址: