apt-cache

Debian and Ubuntu package query tool. More information: <https://manpages.debian.org/latest/apt/apt-cache.8.html>.

Install

All systems
curl cmd.cat/apt-cache.sh
Debian Debian
apt-get install apt
Ubuntu
apt-get install apt
image/svg+xml Kali Linux
apt-get install apt
Fedora
dnf install apt
Windows (WSL2)
sudo apt-get update sudo apt-get install apt
Raspbian
apt-get install apt

Debian and Ubuntu package query tool. More information: <https://manpages.debian.org/latest/apt/apt-cache.8.html>.

  • Search for a package in your current sources:
    apt-cache search query
  • Show information about a package:
    apt-cache show package
  • Show whether a package is installed and up to date:
    apt-cache policy package
  • Show dependencies for a package:
    apt-cache depends package
  • Show packages that depend on a particular package:
    apt-cache rdepends package

© tl;dr; authors and contributors