"apt show" - Show Software Package Details

This section provides a tutorial example on how to use the 'apt show' command to display detailed information of a given software package.

If you are interested in a specific software package, you can run the "apt show" command to display detailed information of the package.

Run "apt show python", for example.

herong$ apt show python 
 
Package: python
Version: 2.7.15~rc1-1
Priority: optional
Section: python
Source: python-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Matthias Klose <doko@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 639 kB

Provides: python-ctypes, python-email, python-importlib, python-profiler...
Pre-Depends: python-minimal (= 2.7.15~rc1-1)
Depends: python2.7 (>= 2.7.15~rc1-1~), libpython-stdlib (= 2.7.15~rc1-1)
Suggests: python-doc (= 2.7.15~rc1-1), python-tk (>= 2.7.15~rc1-1~)
Conflicts: python-central (<< 0.5.5)
Breaks: update-manager-core (<< 0.200.5-2)
Replaces: python-dev (<< 2.6.5-2)
Homepage: http://www.python.org/

Task: ubuntu-live, samba-server, kubuntu-desktop, kubuntu-full, xubuntu-...
Cnf-Extra-Commands: python
Cnf-Priority-Bonus: 3
Supported: 5y
Download-Size: 140 kB
APT-Manual-Installed: no
APT-Sources: http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Description: interactive high-level object-oriented language (default 
  version) Python, the high-level, interactive object oriented language, 
  includes an extensive class library with lots of goodies for network 
  programming, system administration, sounds and graphics.

  This package is a dependency package, which depends on Debian's default
  Python version (currently v2.7).

It is interesting to know that the "python" package (Ubuntu's Python wrapper) requires the "pytho2.7" package (Debian's Python) as a dependency.

If you don't know the exact name of a package, you use the "apt search" command to find it. For example, the following command finds packages that match all 3 keywords:

 
herong$ apt search python mysql connector 

Sorting...
Full Text Search...
python-mysql.connector/bionic,bionic 2.1.6-1 all
  pure Python implementation of MySQL Client/Server protocol

python3-mysql.connector/bionic,bionic 2.1.6-1 all
  pure Python implementation of MySQL Client/Server protocol (Python3)

Table of Contents

 About This Book

 Introduction to Ubuntu Systems

 GNOME - Desktop Interface and Environment

 Shell - The Command-Line Interpreter

 Process Management

 Memory Management

 Files and Directories

APT (Advanced Package Tool)

 What Is APT

 "apt list" - List Software Packages

"apt show" - Show Software Package Details

 "sudo apt install/remove" - Install/Remove Package

 "sudo apt autoremove" - Remove Unneeded Packages

 Manage "apt" Package Repositories

 APT Configuration Settings and Overrides

 APT Package Archives and Metadata

 Network Connection on Ubuntu

 Internet Networking Tools

 SSH Protocol and ssh/scp Commands

 Administrative Tasks

 References

 Full Version in PDF/EPUB