查看apt-get安装软件的版本

apt-cache search name

查询

apt-get install name

安装

dpkg

dpkg dpkg-checkbuilddeps dpkg-genchanges dpkg-mergechangelogs dpkg-query dpkg-shlibdeps dpkg-trigger
dpkg-architecture dpkg-deb dpkg-gencontrol dpkg-name dpkg-reconfigure dpkg-source dpkg-vendor
dpkg-buildflags dpkg-distaddfile dpkg-gensymbols dpkg-parsechangelog dpkg-scanpackages dpkg-split
dpkg-buildpackage dpkg-divert dpkg-maintscript-helper dpkg-preconfigure dpkg-scansources dpkg-statoverride

dpkg-query -s name

查询特定软件状态
Package: iw
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 214
Maintainer: Debian wpasupplicant Maintainers pkg-wpa-devel@lists.alioth.debian.org
Architecture: amd64
Multi-Arch: foreign
Version: 3.17-1
Replaces: aircrack-ng (<< 1:1.0~rc2-1)
Depends: libc6 (>= 2.14), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.7)
Recommends: crda
Breaks: aircrack-ng (<< 1:1.0~rc2-1)
Description: tool for configuring Linux wireless devices
This package contains the `iw' tool which allows you to configure and show
information about wireless networking.
.
In the future iw will become the canonical command line tool for wireless
configuration and iwconfig/wireless-tools will no longer be required. See
/usr/share/doc/iw/README.Debian for a more detailed overview of iw.
Homepage: http://wireless.kernel.org/en/users/Documentation/iw

posted @ 2016-09-05 10:03  蚂蚁都督  阅读(9131)  评论(0编辑  收藏  举报