How to Find Which Package Provides a File in Ubuntu and Debian
The most straightforward way to identify which installed package provides a specific file is with dpkg: dpkg -S /path/to/the/file The -S flag searches for a filename pattern across all installed packages. This works for any file path in your system, whether it’s a binary, library, configuration file, or anything else. Searching for command binaries To…
