Find the package that provides a file not yet installed
command not found which package to install | which package contains this file debian | apt-file search example | apt-file | packages | filesapt-file search bin/mysqldumpSearches the file lists of all packages from the configured sources and shows which packages contain a file with this path fragment. Helpful for command not found or when a specific header file is missing for a build. Unlike dpkg -S, it also finds packages that are not installed.
Note: apt-file is not preinstalled. Run apt install apt-file and then apt-file update once as root.
Also searched as
- command not found which package to install
- which package contains this file debian
- apt-file search example