Files
tldr/pages.pl/linux/apt-cache.md
2022-10-16 02:15:00 -03:00

25 lines
563 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# apt-cache
> Narzędzie do zapytań o pakiety w Debianie i Ubuntu.
> Więcej informacji: <https://manpages.debian.org/latest/apt/apt-cache.8.html>.
- Wyszukanie pakietu w aktualnych źródłach:
`apt-cache search {{zapytanie}}`
- Pokazanie informacji o pakiecie:
`apt-cache show {{pakiet}}`
- Pokazanie, czy pakiet jest zainstalowany i aktualnej wersji:
`apt-cache policy {{pakiet}}`
- Pokazanie zależności pakietu:
`apt-cache depends {{pakiet}}`
- Pokazanie pakietów mających zależność od konkretnego pakietu:
`apt-cache rdepends {{pakiet}}`