LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apt-show

Show detailed information about packages.

TLDR

Show one package
$ apt show [package]
copy
Show several packages
$ apt show [package1] [package2]
copy
Show one version
$ apt show [package]=[version]
copy
Show every available version
$ apt show -a [package]
copy

SYNOPSIS

apt show [options] package...

DESCRIPTION

apt show prints the package record for each argument: description, dependencies, size, maintainer, and the repository the candidate comes from. With no version pin, the candidate version is shown.The command is a subcommand of apt. apt-cache show prints records in a similar form.

PARAMETERS

-a, --all-versions

Print every available version of each package, including versions that are not the candidate.
package=version
Select that version of the package.
-c, --config-file file
Read the named APT configuration file.
-o, --option key=value
Set a configuration option for this run.

INSTALL

sudo apt install apt
copy
sudo dnf install apt
copy
sudo pacman -S apt
copy
sudo apk add apt
copy
brew install apt
copy
nix profile install nixpkgs#apt
copy

CAVEATS

The record describes the package in the index, which can differ from the copy currently installed. Run apt update first when the index is stale. A virtual package name may match more than one provider.

SEE ALSO

apt(8), apt-cache(8), apt-get(8), dpkg(1)

RESOURCES

Copied to clipboard
Kai