Skip to content

CLI option: tap package show

A lot of package managers include the option to view metadata and a package description.

Example:

$ apt show gcc

Package: gcc
Version: 4:7.4.0-1ubuntu2.3
Priority: optional
Build-Essential: yes
Section: devel
Source: gcc-defaults (1.176ubuntu2.3)
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51.2 kB
Provides: c-compiler
Depends: cpp (>= 4:7.4.0-1ubuntu2.3), gcc-7 (>= 7.4.0-1~)
Recommends: libc6-dev | libc-dev
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Supported: 5y
Download-Size: 5184 B
APT-Sources: http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
Description: GNU C compiler
 This is the GNU C compiler, a fairly portable optimizing compiler for C.
 .
 This is a dependency package providing the default GNU C compiler.

It should be doable to add something similar to OpenTAP, as most of this information is available on packages.opentap.io

Edited by Alexander Nørskov Larsen