apt-file Command Examples

Search for files in apt packages, including ones not yet installed. More information: https://manned.org/apt-file.1.

sudo apt update

apt-file {{search|find}} {{partial_path/to/file}}

apt-file {{show|list}} {{package}}

apt-file {{search|find}} --regexp {{regular_expression}}