apt-file

apt-file

TLDR

Update the metadata database

$ sudo apt update
copy

Search for packages that contain the specified file or path

$ apt-file [search|find] [part/of/filename]
copy

List the contents of a specific package

$ apt-file [show|list] [package_name]
copy

Search for packages that match the regular expression given in pattern

$ apt-file [search|find] --regexp [regular_expression]
copy

Copied to clipboard
Dodo Farming