2008/2/16, cathayan <cathayan@gmail.com>:
2008/2/16 Wing Sun <chunyang.sun@sw-linux.com>:
> apt-cache depends packagename
>
这个命令的结果有点简单,bugs.debian上面一般是这样的:
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xfce4-battery-plugin depends on:
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libcairo2 1.4.12-1 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.14.4-2 The GLib library of C routines
ii libgtk2.0-0 2.12.3-2 The GTK+ graphical user interface
ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio
ii libxfce4util4 4.4.2-1 Utility functions library for Xfce
ii libxfcegui4-4 4.4.2-1 Basic GUI C functions for Xfce4
ii xfce4-panel 4.4.2-1 The Xfce4 desktop environment pane
xfce4-battery-plugin recommends no packages.
管道截取apt-cache depends xxx的输出,交给dpkg -l 输出信息不就可以了。