apt show

manpage

執行

$ man apt

可以找到一段說明

show (apt-cache(8))
    Show information about the given package(s) including its dependencies, installation and download size,
    sources the package is available from, the description of the packages content and much more. It can e.g.
    be helpful to look at this information before allowing apt(8) to remove a package or while searching for
    new packages to install.

help

執行

$ apt -h

可以找到一段說明

show - show package details

指令範例

執行

$ apt show hello

顯示

Package: hello
Version: 2.10-1
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Santiago Vila <sanvila@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 106 kB
Depends: libc6 (>= 2.14)
Conflicts: hello-traditional
Breaks: hello-debhelper (<< 2.9)
Replaces: hello-debhelper (<< 2.9), hello-traditional
Homepage: http://www.gnu.org/software/hello/
Supported: 5y
Download-Size: 27.3 kB
APT-Sources: http://tw.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Description: example package based on GNU hello
 The GNU hello program produces a familiar, friendly greeting.  It
 allows non-programmers to use a classic computer science tool which
 would otherwise be unavailable to them.
 .
 Seriously, though: this is an example of how to do a Debian package.
 It is the Debian version of the GNU Project's `hello world' program
 (which is itself an example for the GNU Project).