apt show command shows information about a package.
root@ok-vm:~# apt show apache2
Package: apache2
Version: 2.4.18-2ubuntu3.5
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Apache Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 501 kB
Provides: httpd, httpd-cgi
Pre-Depends: dpkg (>= 1.17.14)
Depends: lsb-base, procps, perl, mime-support, apache2-bin (= 2.4.18-2ubuntu3.5), apache2-utils (>= 2.4), apache2-data (= 2.4.18-2ubuntu3.5)
Recommends: ssl-cert
Suggests: www-browser, apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, ufw
Conflicts: apache2.2-bin, apache2.2-common
Replaces: apache2.2-bin, apache2.2-common
Homepage: http://httpd.apache.org/
Task: lamp-server, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master
Supported: 5y
Download-Size: 86.7 kB
APT-Manual-Installed: yes
APT-Sources: http://azure.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
Description: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
N: There is 1 additional record. Please use the '-a' switch to see it
root@ok-vm:~#
See apt policy apt