有一个deb包,在当前目录下,名字是mydeb
查看当前目录某个deb包的信息:
dpkg --info mydeb.deb
以google的deb包为例,info信息如下
new debian package, version 2.0.
size 31999810 bytes: control archive= 5918 bytes.
1202 bytes, 14 lines control
9846 bytes, 300 lines * postinst #!/bin/sh
7251 bytes, 218 lines * postrm #!/bin/sh
1286 bytes, 43 lines * prerm #!/bin/sh
Package: google-chrome-stable
Version: 19.0.1084.56-r140965
Architecture: i386
Maintainer: Chrome Linux Team <[email protected]>
Installed-Size: 113500
Pre-Depends: dpkg (>= 1.14.0)
Depends: libasound2 (>> 1.0.22), libbz2-1.0, libc6 (>= 2.11), libcairo2 (>= 1.6.0), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.2.14), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.3.9), libgcc1 (>= 1:4.1.1), libgconf2-4 (>= 2.27.0), libgcrypt11 (>= 1.4.2), libglib2.0-0 (>= 2.20.0), libgtk2.0-0 (>= 2.18.0), libnspr4-0d (>= 4.7.3-0ubuntu1~) | libnspr4 (>= 4.8.7-0ubuntu1), libnss3-1d (>= 3.12.3), libpango1.0-0 (>= 1.20.0), libstdc++6 (>= 4.4.0), libudev0 (>= 147), libx11-6 (>= 0), libxcomposite1 (>= 1:0.3-1), libxext6 (>= 0), libxfixes3 (>= 1:4.0.1), libxrender1, libxss1, zlib1g (>= 1:1.2.3.3.dfsg), ca-certificates, libcurl3, libatk1.0-0 (>= 1.30.0), lsb-base (>= 3.2), xdg-utils (>= 1.0.2), wget
Conflicts: google-chrome
Replaces: google-chrome
Provides: google-chrome, www-browser
Section: web
Priority: optional
Description: The web browser from Google
Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
如果我已经安装了,并且这个mydeb已经卸载了,我想查看那些info,可以查到吗?
如何查看已经安装deb包的信息
-
- 帖子: 980
- 注册时间: 2008-04-12 12:44
- wjchen
- 帖子: 583
- 注册时间: 2011-05-02 19:08
- 系统: ubuntu 12.04
Re: 如何查看已经安装deb包的信息
代码: 全选
dpkg -s mydeb
- ahwad
- 帖子: 1116
- 注册时间: 2009-05-06 0:36
Re: 如何查看已经安装deb包的信息
路过,学习。。。。。