ubuntu 隶属 debian,采用dpkg 管理包 *.deb.
$ dpkg -l 显示当前安装的所有包
$ dpkg -S /usr/bin/env 显示这个文件隶属的包名
dpkg -c lists the contents of a .deb package file (It is a front-end to dpkg-deb.)
dpkg -c package_file.deb
This command can only list contents of installed packages,
dpkg -L PACKAGENAME
http://superuser.com/questions/82923/how-to-list-files-of-a-debian-package-without-install
本文详细解释了Ubuntu作为Debian的发行版如何使用dpkg进行包管理,并展示了如何通过命令行查看已安装的包和特定文件所属的包。
23万+

被折叠的 条评论
为什么被折叠?



