apt-cache Flashcards
apt-cache
apt-cache performs a variety of operations on APT’s package cache.
![](https://s3.amazonaws.com/brainscape-prod/system/cm/313/195/986/a_image_thumb.png?1591218755)
apt-cache pkgnames
apt-cache search
apt-cache show
pkgnames, This command prints the name of each package APT knows.
search, Search performs a full text search on all available package lists for the regex pattern given.
show pkg, Show performs a function similar to dpkg –print-avail; it displays the package records for the named packages.
apt-cache showpkg
showpkg, Showpkg displays information about the packages listed on the command line.
apt-cache stats
stats, Stats displays some statistics about the cache. Stats reported are: Number of package names, number of ordinary packages, number of virtual package names, etc, etc.