APT-CACHE Commands Cheat Sheet

Here is a cli commands cheat sheet for APT-CACHE command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is APT-CACHE command?

Add some data here

        ---
tags: [ packaging ]
---
# To find packages matching :
apt-cache search 

# To display package records for the named package(s):
apt-cache show ...

# To display reverse dependencies of a package:
apt-cache rdepends 

# To display package versions, reverse dependencies and forward dependencies of
# a package
apt-cache showpkg 

# To display package installation status and what version is available from
# its repository
apt-cache policy 
    

Check out the APT-CACHE command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list