Search notes:

apt show

apt show prints package details (version, tags, download size, APT source, description, section, dependencies, priority etc).
$ apt show software-properties-common
Package: software-properties-common
Version: 0.96.20.2-2.1
Priority: optional
Section: admin
Source: software-properties
Maintainer: Julian Andres Klode <jak@debian.org>
Installed-Size: 468 kB
Depends: ca-certificates, gir1.2-glib-2.0, gir1.2-packagekitglib-1.0 (>= 1.1.0-2), python-apt-common (>= 0.9), python3, python3-dbus, python3-gi, python3-software-properties (= 0.96.20.2-2.1), python3:any
Recommends: packagekit
Breaks: python-software-properties (<< 0.85), python3-software-properties (<< 0.85)
Replaces: python-software-properties (<< 0.85), python3-software-properties (<< 0.85)
Download-Size: 83.4 kB
APT-Sources: http://deb.debian.org/debian bullseye/main amd64 Packages
Description: manage the repositories that you install software from (common)
 This software provides an abstraction of the used apt repositories.
 It allows you to easily manage your distribution and independent software
 vendor software sources.
 .
 This package contains the common files for software-properties like the
 D-Bus backend.
The output of apt show can be piped into awk with using a range pattern to print the description only:
STDERR is redirected to /dev/null in order to prevent displaying WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
$ apt show software-properties-common 2>/dev/null | awk '/Description:/,/^$/'
Description: manage the repositories that you install software from (common)
 This software provides an abstraction of the used apt repositories.
 It allows you to easily manage your distribution and independent software
 vendor software sources.
 .
 This package contains the common files for software-properties like the
 D-Bus backend.

See also

apt-get showpkg.
apt

Index