Search for packages that match the regular expression given in pattern

apt-file

  • Search for files in apt packages, including ones not yet installed.
    More information: <https://manpages.debian.org/latest/apt-file/apt-file.1.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install apt-file on any operating system with command-not-found.com