Forrest logo
back to the apt-cache tool

apt-cache:tldr:f569b

apt-cache: Show information about a package.
$ apt-cache show ${package}
try on your machine

The command "apt-cache show ${package}" is used to display detailed information about a specific package in Ubuntu or Debian-based systems.

Here's a breakdown of the command:

  • "apt-cache" is the command-line tool for querying package information from the APT cache.
  • "show" is the sub-command used to show information about a package.
  • "${package}" is a placeholder that should be replaced with the actual name of the package you want to see information about. For example, if you want to see information about the package "nginx", you would replace "${package}" with "nginx".

Executing this command will display a bunch of information related to the specified package, including its description, version, dependencies, maintainer, installed directories/files, and other relevant details.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the apt-cache tool