snippetbashTip
apt-cache — Debian and Ubuntu package query tool. More information: <https://manned.org/apt-cache>.
Viewed 0 times
commandandapt-cachedebiancliubuntuquerypackage
linux
Problem
How to use the
apt-cache command: Debian and Ubuntu package query tool. More information: <https://manned.org/apt-cache>.Solution
apt-cache — Debian and Ubuntu package query tool. More information: <https://manned.org/apt-cache>.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}}Code Snippets
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}}Context
tldr-pages: linux/apt-cache
Revisions (0)
No revisions yet.