apt-file Command Examples

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

sudo apt update

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

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

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