linux:debian:packages-query
This is an old revision of the document!
Table of Contents
Available Packages
The apt-cache search command will return all packages that have name in the package name or description:
# apt-cache search name
Once you have a package name, you can get more detailed information on the package using the apt-cache show and apt-cache showpkg commands.
# apt-cache show package_name # apt-cache showpkg package_name # apt-cache list package_name
Installed Packages
Check single package
Run apt list package, it will return the available version and if it is installed “[installed]”
# apt list package # apt list bluez ------------------------------------------ Listing... Done bluez/stable,now 5.66-1 amd64 [installed] ------------------------------------------
Query all manually installed packages
# apt list --manual-installed=true
or
# apt-mark showmanual
linux/debian/packages-query.1726384641.txt.gz · Last modified: by oscar
