tldr/pages/linux/apt-cache.md

16 lines
282 B
Markdown
Raw Normal View History

2015-12-30 19:53:12 +00:00
# apt-cache
> Debian and Ubuntu package query tool
2015-12-31 10:33:21 +00:00
- Search for a package in your current sources
2015-12-30 19:53:12 +00:00
`apt-cache search {{query}}`
2015-12-31 10:33:21 +00:00
- Show information about a package
2015-12-30 19:53:12 +00:00
`apt-cache show {{package}}`
2015-12-31 10:33:21 +00:00
- Show whether a package is installed and up to date
2015-12-30 19:53:12 +00:00
`apt-cache policy {{package}}`