ubuntu 查看安装的包

来源:互联网 发布:淘宝助手复制宝贝 编辑:程序博客网 时间:2024/05/18 09:21

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
原创粉丝点击